Bug 6948

Summary: cryptodev-linux depends on host kernel headers/build being present
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Holger Freyther <holger>
Component: kernelAssignee: Darren Hart <dvhart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: bruce.ashfield, richard.purdie, tom.zanussi
Version: 1.7   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Holger Freyther 2014-11-09 01:43:24 UTC
On a fresh VM I do get the following error:

ERROR: Function failed: do_configure (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/cryptodev-linux/1.6-r0/temp/log.do_configure.26668)
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/cryptodev-linux/1.6-r0/temp/log.do_configure.26668
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| make -C /lib/modules/3.2.0-4-686-pae/build SUBDIRS=`pwd` clean
| make: *** /lib/modules/3.2.0-4-686-pae/build: No such file or directory.  Stop.
| make: *** [clean] Error 2
| WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/cryptodev-linux/1.6-r0/temp/run.do_configure.26668:1 exit 2 from
|   make clean
| ERROR: Function failed: do_configure (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/cryptodev-linux/1.6-r0/temp/log.do_configure.26668)
NOTE: recipe cryptodev-linux-1.6-r0: task do_configure: Failed
ERROR: Task 1888 (/home/builder/jenkins/workspace/Yocto-Master/label/OE/poky/meta/recipes-kernel/cryptodev/cryptodev-linux_1.6.bb, do_configure) failed with exit code '1'



/lib/modules/3.2.0-4-686-pae/build would be the host kernel but this not a -native package.
Comment 1 Richard Purdie 2014-11-13 15:37:48 UTC
I believe this was fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e6cbda6419beb7b09a82325507f492f4f95e8776 (which touches cryptodev amongst others). Please reopen if this still breaks.