What is expected of a kernel recipe nowadays?
I updated to the current master of OE-core, but I can't get the kernel recipe to work any longer:
https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-kernel/linux-zynq/linux-topic.bb
(I got similar problems in other projects too, I'm focussing on this one first.)
Several things were changed in kernel.bbclass, but I don't understand what is being expected from me now to get the kernel recipe in working order again.
| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | NOTE: make -C /home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel O=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldnoconfig | make: Entering directory `/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel' | make: *** No rule to make target `oldnoconfig'. Stop. | make: Leaving directory `/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel' | NOTE: make -C /home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel O=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldconfig
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nl
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/
I think I found it. The kernel bbclass changes "S" to point elsewhere. Moving the statement S = "${WORKDIR}/git"
to after the "inherit kernel" line makes the compile run again.
Quoted 46 lines · Mike Looijmans
I updated to the current master of OE-core, but I can't get the kernel recipe to work any longer:
https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-kernel/linux-zynq/linux-topic.bb(I got similar problems in other projects too, I'm focussing on this one first.)
Several things were changed in kernel.bbclass, but I don't understand what is being expected from me now to get the kernel recipe in working order again.
| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | NOTE: make -C
/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernelO=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldnoconfig
| make: Entering directory `/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel'| make: *** No rule to make target `oldnoconfig'. Stop.
| make: Leaving directory `/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel'| NOTE: make -C
/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernelO=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldconfigMet vriendelijke groet / kind regards,
Mike Looijmans
System ExpertTOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nl
Quoted 5 lines
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nl
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/
Quoted 4 lines · Mike Looijmans
I think I found it. The kernel bbclass changes "S" to point elsewhere. Moving the statement
S = "${WORKDIR}/git"
to after the "inherit kernel" line makes the compile run again.
Interesting. Can you confirm that Richard's commit:
-----------------
commit 1dd37a2a9960ad26e27567d1871d78bec336e1a2
Author: Richard Purdie <[email protected]> Date: Fri Dec 19 17:46:27 2014 +0000
kernel: Fix non linux-yocto builds
After the recent kernel changes, non linux-yocto builds stopped working properly for two reasons:
a) ${S} was being reset to ${WORKDIR}/git for example and STAGING_KERNEL_DIR did not contain the source
b) Most builds were using ${B} == ${S}
This patch adds a fixup to the unpack function to handle the case where ${S} != ${STAGING_KERNEL_DIR} and also set up the infrastrcture so that B != S for kernel builds from now on. The kernel build system is one of the best for supporting this and there is no good reason not to take advantage of it.
(From OE-Core rev: 106dab2fd0321e6b4e77b40111e59a3a31d329d4)
------------
Is in your tree ? it should be fixing things up and allowing the source to be found.
Alternatively, if you drop the explicit set of S, does the build start working again ?
Bruce
Quoted 95 lines · Mike Looijmans
Quoted 58 lines
I updated to the current master of OE-core, but I can't get the kernel recipe
to work any longer:(I got similar problems in other projects too, I'm focussing on this one first.)
Several things were changed in kernel.bbclass, but I don't understand what is
being expected from me now to get the kernel recipe in working order again.| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | NOTE: make -C
/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernelO=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldnoconfig
| make: Entering directory`/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel'
| make: *** No rule to make target `oldnoconfig'. Stop. | make: Leaving directory
`/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernel'
| NOTE: make -C
/home/mike/zynq_platform/build/tmp-glibc/sysroots/topic-miami-vice-xc7z015/usr/src/kernelO=/home/mike/zynq_platform/build/tmp-glibc/work/topic_miami_vice-oe-linux-gnueabi/linux-topic/3.17+gitAUTOINC+0feb6e4839-r0/build oldconfig
Met vriendelijke groet / kind regards,
Mike Looijmans
System ExpertTOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nlQuoted 5 lines
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/Met vriendelijke groet / kind regards,
Mike Looijmans
System ExpertTOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nlPlease consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/--
_______________________________________________
Openembedded-core mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 5 lines · Bruce Ashfield
Quoted 4 lines · Mike Looijmans
I think I found it. The kernel bbclass changes "S" to point elsewhere. Moving the statement
S = "${WORKDIR}/git"
to after the "inherit kernel" line makes the compile run again.
We handled similar failures with:
Take a look if it helps.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 31 lines · Bruce Ashfield
Quoted 4 lines · Mike Looijmans
I think I found it. The kernel bbclass changes "S" to point elsewhere. Moving the statement
S = "${WORKDIR}/git"
to after the "inherit kernel" line makes the compile run again.Interesting. Can you confirm that Richard's commit:
-----------------
commit
1dd37a2a9960ad26e27567d1871d78bec336e1a2Author: Richard Purdie <[email protected]> Date: Fri Dec 19 17:46:27 2014 +0000kernel: Fix non linux-yocto builds
After the recent kernel changes, non linux-yocto builds stopped working properly for two reasons:
a) ${S} was being reset to ${WORKDIR}/git for example and
STAGING_KERNEL_DIRdid not contain the sourceb) Most builds were using ${B} == ${S}
This patch adds a fixup to the unpack function to handle the case where ${S} != ${STAGING_KERNEL_DIR} and also set up the infrastrcture so that B != S for kernel builds from now on. The kernel build system is one of the best for supporting this and there is no good reason not to take advantage of it.
Quoted 8 lines
(From OE-Core rev:
106dab2fd0321e6b4e77b40111e59a3a31d329d4)Signed-off-by Richard Purdie <[email protected]>------------
Is in your tree ? it should be fixing things up and allowing the source to be found.
Yes, this is the part that changes "S" and it's how I discovered to move the assignment to after inheriting it.
Quoted 2 lines
Alternatively, if you drop the explicit set of S, does the build start working again ?
If I just remove the S=... line, it fails in the same way. The git fetch apparently places the code at WORKDIR/git where the new kernel recipe cannot find it.
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nl
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/
Quoted 45 lines · Mike Looijmans
Quoted 31 lines · Bruce Ashfield
Quoted 4 lines · Mike Looijmans
I think I found it. The kernel bbclass changes "S" to point elsewhere. Moving the statement
S = "${WORKDIR}/git"
to after the "inherit kernel" line makes the compile run again.Interesting. Can you confirm that Richard's commit:
-----------------
commit
1dd37a2a9960ad26e27567d1871d78bec336e1a2Author: Richard Purdie <[email protected]> Date: Fri Dec 19 17:46:27 2014 +0000kernel: Fix non linux-yocto builds
After the recent kernel changes, non linux-yocto builds stopped working properly for two reasons:
a) ${S} was being reset to ${WORKDIR}/git for example and
STAGING_KERNEL_DIRdid not contain the sourceb) Most builds were using ${B} == ${S}
This patch adds a fixup to the unpack function to handle the case where ${S} != ${STAGING_KERNEL_DIR} and also set up the infrastrcture so that B != S for kernel builds from now on. The kernel build system is one of the best for supporting this and there is no good reason not to take advantage of it.
Quoted 8 lines
(From OE-Core rev:
106dab2fd0321e6b4e77b40111e59a3a31d329d4)Signed-off-by Richard Purdie <[email protected]>------------
Is in your tree ? it should be fixing things up and allowing the source to be found.
Yes, this is the part that changes "S" and it's how I discovered to move the assignment to after inheriting it.
Quoted 6 lines
Quoted 2 lines
Alternatively, if you drop the explicit set of S, does the build start working again ?
If I just remove the S=... line, it fails in the same way. The git fetch apparently places the code at WORKDIR/git where the new kernel recipe cannot find it.
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:
The stack trace of python calls that resulted in this exception/failure was:
File: 'base_do_unpack', lineno: 24, function: <module>
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:
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
ERROR: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/maguro-webos-linux-gnueabi/linux-samsung-tuna/3_3.0.72+gitrAUTOINC+f8ed73f94a-r12/temp/log.do_unpack.13495
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'
3) do_patch failing when S assignment is dropped
ERROR: Command Error: exit status: 1 Output:
Applying patch patch-3.2.52
can't find file to patch at input line 5
...
8 out of 8 hunks ignored
Patch patch-3.2.52 does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /OE/build/shr-core/tmp-glibc/work/om_gta02-oe-linux-gnueabi/linux-openmoko/1_3.2-r14/temp/log.do_patch.15984
NOTE: recipe linux-openmoko-1_3.2-r14: task do_patch: Failed
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 21 lines · Martin Jansa
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_unpackfailing: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_unpack0017: 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:
Quoted 1 line
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
Quoted 13 lines
2)
do_configurefailing: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.17498Log 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)
Quoted 2 lines
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
Quoted 1 line
3)
do_patchfailing when S assignment is dropped
This isn't relevant, S assignment is still needed
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 15 lines · Martin Jansa
2)
do_configurefailing: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.17498Log 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
Quoted 7 lines
/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: taskdo_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'
I'll Me Too here, often hitting this on rebuilds:
DEBUG: Executing shell function do_configure
NOTE: make -C /data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel O=/data/poky-master/tmp/work/qemuarm64-poky-linux/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_902f34d361-r0/linux-qemuarm64-standard-build oldnoconfig
make: Entering directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel'
make: *** No rule to make target `oldnoconfig'. Stop.
make: Leaving directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel' ERROR: Task 77 (/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb,do_configure) failed with exit code '1'
Ross
Quoted 6 lines · Martin Jansa
Quoted 4 lines
| 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)Quoted 1 line
NOTE: recipe linux-lg-mako-3.4.0+gitrAUTOINC+38bdbfe224-r0: task
Quoted 8 lines
do_configure: FailedQuoted 1 line
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
I'm replicating this error with an oe-core kernel, so there's more causes here.
Ross
Quoted 14 lines · Ross
Quoted 12 lines · Martin Jansa
Quoted 11 lines
| 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: taskdo_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'
Quoted 7 lines
Quoted 3 lines
This was caused by linux.inc, fixed in:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099687.html
I'm replicating this error with an oe-core kernel, so there's more causes here.
Can you log the replicating steps and point me at the bug ? I can take any fixes from there.
Bruce
Quoted 9 lines
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 27 lines · Ross
Quoted 15 lines · Martin Jansa
2)
do_configurefailing: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.17498Log 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 atQuoted 7 lines
/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: taskdo_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'I'll Me Too here, often hitting this on rebuilds:
Quoted 11 lines
DEBUG: Executing shell function
do_configure
NOTE: make -C /data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel O=/data/poky-master/tmp/work/qemuarm64-poky-linux/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_902f34d361-r0/linux-qemuarm64-standard-build oldnoconfig
make: Entering directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel'
make: *** No rule to make target `oldnoconfig'. Stop.
make: Leaving directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel' ERROR: Task 77 (/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb,do_configure) failed with exit code '1'
last world build revealed new kind of error:
both qemux86 and qemux86-64 failed like this
ERROR: Function failed: do_kernel_configme (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974 Log data follows:
| DEBUG: Executing shell function do_kernel_configme | NOTE: kernel configme | [INFO] Configuring target/machine combo: "standard/qemux86-64" | [INFO] collecting configs in .meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/usr/src/kernel/.meta/cfg/standard/common-pc-64/config.log | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_kernel_configme (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
NOTE: recipe linux-yocto-3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0: task do_kernel_configme: Failed
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 55 lines · Martin Jansa
Quoted 27 lines · Ross
Quoted 15 lines · Martin Jansa
2)
do_configurefailing: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.17498Log 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 atQuoted 7 lines
/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: taskdo_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'I'll Me Too here, often hitting this on rebuilds:
Quoted 11 lines
DEBUG: Executing shell function
do_configure
NOTE: make -C /data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel O=/data/poky-master/tmp/work/qemuarm64-poky-linux/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_902f34d361-r0/linux-qemuarm64-standard-build oldnoconfig
make: Entering directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel'
make: *** No rule to make target `oldnoconfig'. Stop.
make: Leaving directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel' ERROR: Task 77 (/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb,do_configure) failed with exit code '1'last world build revealed new kind of error:
both qemux86 and qemux86-64 failed like this
ERROR: Function failed:
do_kernel_configme(log file is located at/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974Log data follows:| DEBUG: Executing shell function do_kernel_configme | NOTE: kernel configme | [INFO] Configuring target/machine combo: "standard/qemux86-64" | [INFO] collecting configs in .meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/usr/src/kernel/.meta/cfg/standard/common-pc-64/config.log | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_kernel_configme (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
Quoted 1 line
NOTE: recipe linux-yocto-3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0: task
do_kernel_configme: Failed
I have a fix for this one. I'll open a tracking case when I'm into the office.
Bruce
Quoted 10 lines
--
Martin 'JaMa' Jansa jabber: [email protected]--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 55 lines · Martin Jansa
Quoted 27 lines · Ross
Quoted 15 lines · Martin Jansa
2)
do_configurefailing: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.17498Log 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 atQuoted 7 lines
/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: taskdo_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'I'll Me Too here, often hitting this on rebuilds:
Quoted 11 lines
DEBUG: Executing shell function
do_configure
NOTE: make -C /data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel O=/data/poky-master/tmp/work/qemuarm64-poky-linux/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_902f34d361-r0/linux-qemuarm64-standard-build oldnoconfig
make: Entering directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel'
make: *** No rule to make target `oldnoconfig'. Stop.
make: Leaving directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel' ERROR: Task 77 (/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb,do_configure) failed with exit code '1'last world build revealed new kind of error:
both qemux86 and qemux86-64 failed like this
ERROR: Function failed:
do_kernel_configme(log file is located at/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974Log data follows:| DEBUG: Executing shell function do_kernel_configme | NOTE: kernel configme | [INFO] Configuring target/machine combo: "standard/qemux86-64" | [INFO] collecting configs in .meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/usr/src/kernel/.meta/cfg/standard/common-pc-64/config.log | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_kernel_configme (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
Quoted 1 line
NOTE: recipe linux-yocto-3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0: task
do_kernel_configme: Failed
I spoke to soon before. Where can I find the config that triggered this ? I just built the latest master and my fragments/patches were all properly applied in the default build:
-------------------------
DEBUG: Executing shell function do_kernel_configme
NOTE: kernel configme
[INFO] Configuring target/machine combo: "standard/qemux86-64" [INFO] collecting configs in .meta/meta-series
[INFO] Pre-processed cfg file qemux86-64-standard-config-3.17.6 created. [INFO] processing of raw cfg data completed.
********************************************************************************
Configuration stored in/home/bruce/oe/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/linux-qemux86_64-standard-build/.config
********************************************************************************
To build with this kernel configuration, ensure a suitable toolchain is in your path for x86_64, note its common command prefix, and do:
make O=/home/bruce/oe/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/linux-qemux86_64-standard-build
ARCH=x86_64 \
CROSS_COMPILE=<cross-compile-prefix>
DEBUG: Shell function do_kernel_configme finished
-------------------------
Bruce
Quoted 10 lines
--
Martin 'JaMa' Jansa jabber: [email protected]--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 58 lines · Bruce Ashfield
Quoted 55 lines · Martin Jansa
Quoted 27 lines · Ross
Quoted 15 lines · Martin Jansa
2)
do_configurefailing: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.17498Log 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 atQuoted 7 lines
/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: taskdo_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'I'll Me Too here, often hitting this on rebuilds:
Quoted 11 lines
DEBUG: Executing shell function
do_configure
NOTE: make -C /data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel O=/data/poky-master/tmp/work/qemuarm64-poky-linux/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_902f34d361-r0/linux-qemuarm64-standard-build oldnoconfig
make: Entering directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel'
make: *** No rule to make target `oldnoconfig'. Stop.
make: Leaving directory
`/data/poky-master/tmp/sysroots/qemuarm64/usr/src/kernel' ERROR: Task 77 (/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb,do_configure) failed with exit code '1'last world build revealed new kind of error:
both qemux86 and qemux86-64 failed like this
ERROR: Function failed:
do_kernel_configme(log file is located at/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974Log data follows:| DEBUG: Executing shell function do_kernel_configme | NOTE: kernel configme | [INFO] Configuring target/machine combo: "standard/qemux86-64" | [INFO] collecting configs in .meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/usr/src/kernel/.meta/cfg/standard/common-pc-64/config.log | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_kernel_configme (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/temp/log.do_kernel_configme.6974)Quoted 1 line
NOTE: recipe linux-yocto-3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0: task
do_kernel_configme: Failed
Quoted 3 lines
I spoke to soon before. Where can I find the config that triggered this ? I just built the latest master and my fragments/patches were all properly applied in the default build:
It's random, the same oe-core revision first built it fine, then it failed, then it again built fine, see:
http://www.openembedded.org/wiki/Bitbake_World_Status
the successful build isn't there yet, but rebuilding from the same sstate finished kernel fine
Quoted 43 lines
-------------------------
DEBUG: Executing shell function
do_kernel_configme
NOTE: kernel configme
[INFO] Configuring target/machine combo: "standard/qemux86-64" [INFO] collecting configs in .meta/meta-series
[INFO] Pre-processed cfg file qemux86-64-standard-config-3.17.6 created. [INFO] processing of raw cfg data completed.********************************************************************************
Configuration stored in/home/bruce/oe/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/linux-qemux86_64-standard-build/.config
********************************************************************************To build with this kernel configuration, ensure a suitable toolchain is in your path for
x86_64, note its common command prefix, and do:make O=/home/bruce/oe/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.17.6+gitAUTOINC+b81030f9ec_5ff54d8fbf-r0/linux-qemux86_64-standard-buildARCH=x86_64 \
CROSS_COMPILE=<cross-compile-prefix>DEBUG: Shell function
do_kernel_configmefinished-------------------------
Bruce
Quoted 10 lines
--
Martin 'JaMa' Jansa jabber: [email protected]--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-coreSignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]