Bug 5124 - building kmod with 'ptest' in DISTRO_FEATRUES failed
Summary: building kmod with 'ptest' in DISTRO_FEATRUES failed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: Tudor Florea
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-05 08:30 UTC by Chen Qi
Modified: 2013-09-12 18:38 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2013-09-05 08:30:41 UTC
Steps to reproduce:
1. DISTRO_FEATURES_append = " ptest"
2. bitbake kmod

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
| DEBUG: Executing shell function do_install_ptest_base
| NOTE: make DESTDIR=/home/chenqi/poky/build-sato/tmp/work/i586-poky-linux/kmod/14+gitAUTOINC+3b38c7fcb5-r0/image/usr/lib/kmod/ptest install-ptest
|  cd . && /bin/bash ./config.status Makefile depfiles
| config.status: creating Makefile
| config.status: executing depfiles commands
| install: cannot stat `testsuite/test-init': No such file or directory
| install: cannot stat `testsuite/test-testsuite': No such file or directory
| install: cannot stat `testsuite/test-loaded': No such file or directory
| install: cannot stat `testsuite/test-modinfo': No such file or directory

//Chen Qi
Comment 1 Tudor Florea 2013-09-05 16:33:15 UTC
I'll submit a patch for this shortly.
Regards,
  Tudor.
Comment 2 Tudor Florea 2013-09-09 08:46:34 UTC
The patch submitted below should fix the issue 
http://lists.openembedded.org/pipermail/openembedded-core/2013-September/084000.html
Regards,
  Tudor
Comment 3 Saul Wold 2013-09-12 18:38:44 UTC
When your patch is merged please mark the bug resolved/fixed with the cgit commit url:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=00b17ad18ee92c8a3f638298bb5e463f51f5a159