Wind River Support Network

HomeDefectsCGP7-381
Fixed

CGP7-381 : CLONE - samhain_3.1.3 failed (do_configure) of qemux86-64_cgl - error: Cannot find ps

Created: Mar 13, 2016    Updated: Jul 21, 2017
Resolved Date: Mar 13, 2016
Previous ID: CGP8-287
Found In Version: 7.0.0.13
Fix Version: 7.0.0.14
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

Build in fedora22_64 x86_64
Branch being built is WRLINUX_8_0_HEAD
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
     --enable-board=qemux86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-unsupported-host=i686 --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-patchresolve=noop --enable-buildstats=yes --enable-bootimage=noimage

[2016-01-11 07:45:04.060109919-05:00] Build Configuration:
[2016-01-11 07:45:04.061092768-05:00] BB_VERSION        = "1.28.0"
[2016-01-11 07:45:04.062034934-05:00] BUILD_SYS         = "x86_64-linux"
[2016-01-11 07:45:04.064002040-05:00] NATIVELSBSTRING   = "Fedora-22"
[2016-01-11 07:45:04.065011121-05:00] DISTRO            = "wrlinux-cgl"
[2016-01-11 07:45:04.065891233-05:00] DISTRO_VERSION    = "8.0.0.0"
[2016-01-11 07:45:04.066926875-05:00] MACHINE           = "qemux86-64"
[2016-01-11 07:45:04.067876842-05:00] DEFAULTTUNE       = "core2-64"
[2016-01-11 07:45:04.069305085-05:00] TARGET_SYS        = "x86_64-wrs-linux"
[2016-01-11 07:45:04.070158420-05:00] TUNE_FEATURES     = "m64 core2"
[2016-01-11 07:45:04.070843255-05:00] TARGET_FPU        = ""
[2016-01-11 07:45:04.071656881-05:00] lib32:  DEFAULTTUNE       = "x86"
[2016-01-11 07:45:04.072511123-05:00] lib32:  TARGET_SYS        = "i686-wrsmllib32-linux"
[2016-01-11 07:45:04.073390540-05:00] lib32:  TUNE_FEATURES     = "m32"
[2016-01-11 07:45:04.075447612-05:00] wrlinux           = "WRLINUX_8_0_HEAD:611b6c07fe710523dd270e81bc6f2c52d98f2ba4"
[2016-01-11 07:45:04.079848465-05:00] wrlcompat         = "WRLINUX_8_0_HEAD:74bebdce523b248c6b2a0fe4f21c61aaa74ab7cf"
[2016-01-11 07:45:04.080898896-05:00] wr-sdk-toolchain  = "WRLINUX_8_0_HEAD:e092eabc899bacfcfd6586b31fea42995b93bbf7"
[2016-01-11 07:45:04.081829612-05:00] wr-tcwrappers     = "WRLINUX_8_0_HEAD:6d4a369c118fd0035918d944bfdb3b939f67f46c"
[2016-01-11 07:45:04.082686235-05:00] meta              = "wr-8.0-20151119:b0d655025fa67c16b4946579d498f6350c07fa44"
[2016-01-11 07:45:04.083567689-05:00] oe-core-dl-2.0    = "WRLINUX_8_0_HEAD:248777b62f282b95be4c3bf60be20d6b97432cf4"
[2016-01-11 07:45:04.084504721-05:00] meta-downloads    = "WRLINUX_8_0_HEAD:69670d1f10356d261580b1d6a8d62702870ecd53"
[2016-01-11 07:45:04.085452534-05:00] wr-kernel         = "WRLINUX_8_0_HEAD:58a6912a99ef594adfde1526a3e60417eec6b6cc"
[2016-01-11 07:45:04.086285943-05:00] qemux86-64        = "WRLINUX_8_0_HEAD:73c411e7cba335cd1f8e4c2ac5d7f7d5014f7a2a"
[2016-01-11 07:45:04.087282702-05:00] wr-base           = "WRLINUX_8_0_HEAD:e49c15bfc03a5f2ea0740e2f5c33b8f6d5ac339f"
[2016-01-11 07:45:04.088098244-05:00] wr-fixes          = "WRLINUX_8_0_HEAD:de41a377cbb46992db298c26feceaeefa0b76109"
[2016-01-11 07:45:04.089405164-05:00] wr-tools-profile  = "WRLINUX_8_0_HEAD:a28c82aaef42cedfd8540b62cbda1a28d1a295af"
[2016-01-11 07:45:04.090239175-05:00] wr-tools-debug    = "WRLINUX_8_0_HEAD:b3361fc0bb65c164104cb60df1b1a9e62e34bd35"
[2016-01-11 07:45:04.091042205-05:00] meta-filesystems  
[2016-01-11 07:45:04.091849302-05:00] meta-initramfs    
[2016-01-11 07:45:04.092610037-05:00] meta-gnome        
[2016-01-11 07:45:04.093386966-05:00] meta-multimedia   
[2016-01-11 07:45:04.094078486-05:00] meta-networking   
[2016-01-11 07:45:04.094801625-05:00] meta-oe           
[2016-01-11 07:45:04.095582087-05:00] meta-python       
[2016-01-11 07:45:04.096292407-05:00] meta-perl         
[2016-01-11 07:45:04.097482846-05:00] meta-webserver    
[2016-01-11 07:45:04.098391790-05:00] meta-xfce         = "wr-8.0-20151119:98ff8ac6e30a569c48c99e1a09ad2d01f2ecaa85"
[2016-01-11 07:45:04.099175719-05:00] wr-prebuilts      = "WRLINUX_8_0_HEAD:61fbe7ea17afa5323a47b728b92be93e35b18e68"
[2016-01-11 07:45:04.100614095-05:00] meta-selinux      = "wr-8.0-20151119:7a3a48e353dfdb4cb7659740c9d0634053e2f5aa"
[2016-01-11 07:45:04.102496691-05:00] wr-security       = "WRLINUX_8_0_HEAD:e47dd5b67e0afd0bdfab0b2c9c28dd4285f9bde5"
[2016-01-11 07:45:04.103466771-05:00] cgp               = "WRLINUX_8_0_HEAD:96d46978838b360ab2f706c1cabb76041a97c65e"
[2016-01-11 07:45:04.104433532-05:00] common-downloads  = "WRLINUX_8_0_HEAD:7158f546317a2198dc0a36b5f98cc1c8a914a4fe"
[2016-01-11 07:45:04.105399105-05:00] extra-downloads   
Failed step: do_configure in file: /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/log.do_configure.78952

Here is some context from around the error:
 --------------------------------------------------
[2016-01-11 09:04:38.716423012-05:00] NOTE: recipe rng-tools-5-r0: task do_configure: Started
[2016-01-11 09:04:42.040389156-05:00] NOTE: recipe strace-4.10-r0: task do_configure: Succeeded
[2016-01-11 09:04:42.054882399-05:00] NOTE: Running task 4102 of 5912 (ID: 3265, /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/layers/wr-cgp/cgp/recipes-cgl/racoon2/racoon2_20100526a.bb, do_configure)
[2016-01-11 09:04:42.486118385-05:00] ERROR: Function failed: do_configure (log file is located at /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/log.do_configure.78952)
[2016-01-11 09:04:42.545546251-05:00] ERROR: Logfile of failure stored in: /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/log.do_configure.78952
[2016-01-11 09:04:42.554666636-05:00] Log data follows:
[2016-01-11 09:04:42.555361301-05:00] | DEBUG: Executing python function sysroot_cleansstate
[2016-01-11 09:04:42.556064320-05:00] | DEBUG: Python function sysroot_cleansstate finished
--
[2016-01-11 09:04:42.740437786-05:00] |   ./configure --build=x86_64-linux --host=x86_64-wrs-linux --prefix=USR --without-kcheck --disable-khide --enable-login-watch --without-libwrap --without-prelude sh_cv___va_copy=yes --disable-ssp --with-pid-file=/var/run/samhain.pid
[2016-01-11 09:04:42.741186717-05:00] | ERROR: Function failed: do_configure (log file is located at /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/log.do_configure.78952)
[2016-01-11 09:04:42.741949693-05:00] NOTE: recipe samhain-3.1.3-r0: task do_configure: Failed
[2016-01-11 09:04:42.742724367-05:00] ERROR: Task 3473 (/home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/layers/wr-common/wr-security/recipes-security/samhain/samhain_3.1.3.bb, do_configure) failed with exit code '1'
[2016-01-11 09:04:42.743393521-05:00] NOTE: recipe smartmontools-6.4-r0: task do_configure: Succeeded
[2016-01-11 09:04:42.744230717-05:00] NOTE: recipe racoon2-20100526a-r0: task do_configure: Started
[2016-01-11 09:04:42.830537779-05:00] NOTE: recipe xmlsec1-1.2.20-r0: task do_configure: Succeeded
 --------------------------------------------------

Here is the tail of log.do_configure.78952:
 --------------------------------------------------
checking for auparse.h... yes
checking for paths.h... yes
checking for arpa/nameser.h... yes
checking for arpa/nameser_compat.h... yes
checking for rpc/rpcent.h... no
checking for rpc/rpc.h... yes
checking for sys/statvfs.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking sys/acct.h usability... yes
checking sys/acct.h presence... yes
checking for sys/acct.h... yes
checking for struct statfs.f_flags... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether _POSIX_SOURCE is necessary... no
checking for strftime... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for getpwent... yes
checking for endpwent... yes
checking for gettimeofday... yes
checking for strlcat... no
checking for strlcpy... no
checking for strstr... yes
checking for strchr... yes
checking for strerror... yes
checking for strsignal... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for lstat... yes
checking for getwd... yes
checking for getcwd... yes
checking for ptrace... yes
checking for usleep... yes
checking for setpriority... yes
checking for getpeereid... no
checking for nanosleep... yes
checking for strptime... yes
checking for basename... yes
checking for sched_yield... yes
checking for hasmntopt... yes
checking for inet_aton... yes
checking for gethostbyname... yes
checking for setutent... yes
checking for setrlimit... yes
checking for gethostname... yes
checking for uname... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for initgroups... yes
checking for getpagesize... yes
checking for ttyname... yes
checking for fchmod... yes
checking for writev... yes
checking for mmap... yes
checking for tzset... yes
checking for getsid... yes
checking for getpriority... yes
checking for getpgid... yes
checking for statvfs... yes
checking for strerror_r... yes
checking for getgrgid_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for rand_r... yes
checking for readdir_r... yes
checking for strtok_r... yes
checking for mincore... yes
checking for posix_fadvise... yes
checking for inotify_init1... yes
checking for statfs... yes
checking for va_copy()... no
checking for __va_copy()... (cached) yes
checking whether va_lists can be copied by value... no
checking for vsnprintf... yes
checking for working vsnprintf... (cached) yes
checking for mlock... yes
checking whether mlock is broken... assuming no
checking whether strftime supports %z... no
checking how to get filesystem type... 4.3BSD
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... (cached) yes
checking for res_search in -lsocket... no
checking for res_search in -lresolv... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes
checking for auparse_find_field in -lauparse... yes
checking for socklen_t... yes
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking for getxattr in -lattr... yes
checking for getxattr... yes
checking for lgetxattr... yes
checking for fgetxattr... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for acl_get_file in -lacl... yes
checking for acl_free... yes
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for long double with more range or precision than double... yes
checking for long long typedef... yes
checking for uint16_t typedef... yes
checking for uint64_t typedef... yes
checking size of unsigned long long... 8
checking for ptrdiff_t... yes
checking for size_t... yes
checking size of char *... 8
checking size of size_t... 8
checking size of unsigned long... 8
checking size of unsigned int... 4
checking size of unsigned short... 2
checking for x86_64... no
checking for 64 bit environment... yes
checking for tiger source to use... sh_tiger1_64.c
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether struct stat has a st_flags field... no
checking for struct cmsgcred... no
checking for struct fcred... no
checking for struct sockcred... no
checking for SO_PEERCRED... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for C/C++ restrict keyword... __restrict
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for SI_USER in signal.h... yes
checking for SA_SIGINFO in signal.h... yes
checking whether sa_sigaction is supported... no
checking for __gmpz_init in -lgmp... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for ps... no
configure: error: Cannot find ps in any of /usr/ucb /bin /usr/bin
WARNING: /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/run.do_configure.78952:1 exit 1 from
  ./configure --build=x86_64-linux --host=x86_64-wrs-linux --prefix=USR --without-kcheck --disable-khide --enable-login-watch --without-libwrap --without-prelude sh_cv___va_copy=yes --disable-ssp --with-pid-file=/var/run/samhain.pid
ERROR: Function failed: do_configure (log file is located at /home/wrlbuild/builds/builds-2016-01-11-074000-pun9/qemux86-64_cgl/bitbake_build/tmp/work/core2-64-wrs-linux/samhain/3.1.3-r0/temp/do_configure/log.do_configure.78952)
 --------------------------------------------------
 --------------------------------------
 
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=qemux86-64_cgl-samhain_3.1.3-2016-01-11-091520
To reproduce this failure with a local docker instance, see wraxl docs:
  http://ala-git.wrs.com/cgi-bin/cgit.cgi/lpd-ops/wr-buildscripts.git/tree/README.md
 --------------------------------------
Host: pek-blade34
Docker Version: Docker version 1.9.1, build a34a1d5

Live chat
Online