Bug 5447 - mdadm building fails
Summary: mdadm building fails
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.5.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-04 10:14 UTC by Chunrong Guo
Modified: 2013-11-07 15:40 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chunrong Guo 2013-11-04 10:14:21 UTC
Build Configuration:
BB_VERSION        = "1.21.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-13"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5+snapshot-20131104"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "master:f3541226b8b1187e79dec0f6f9f3c58cedf9ac9b"
meta-fsl-ppc      = "master:768c6ef13546e0f977847bc1fbb5957571fbf724"

I built  core-image-lsb-sdk and happended  the following error:

error log: 
$<50>WARNING: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly
$<50>WARNING: Failed to fetch URL http://www.xinetd.org/xinetd-2.3.15.tar.gz, attempting MIRRORS if available
$<50>NOTE: validating kernel config, see log.do_kernel_configcheck for details
$<50>ERROR: Function failed: do_compile (log file is located at /local/home/b19537/gcr/opensource/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mdadm/3.3-r0/temp/log.do_compile.19640)
$<50>ERROR: Logfile of failure stored in: /local/home/b19537/gcr/opensource/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mdadm/3.3-r0/temp/log.do_compile.19640
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 14
| ***** Parent of /run/mdadm does not exist.  Maybe set different RUN_DIR=
| *****  e.g. make RUN_DIR=/dev/.mdadm
| ***** or set CHECK_RUN_DIR=0
| make: *** [check_rundir] Error 1
| ERROR: oe_runmake failed
| WARNING: /local/home/b19537/gcr/opensource/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mdadm/3.3-r0/temp/run.do_compile.19640:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /local/home/b19537/gcr/opensource/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mdadm/3.3-r0/temp/log.do_compile.19640)
$<50>ERROR: Task 2364 (/local/home/b19537/gcr/opensource/poky/meta/recipes-extended/mdadm/mdadm_3.3.bb, do_compile) failed with exit code '1'
$<50>NOTE: Tasks Summary: Attempted 4160 tasks of which 398 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Comment 1 Saul Wold 2013-11-04 22:10:29 UTC
This check is acutally a host contamination issue since it checks the host 
system, I created a patch that disables that check.