Bug 11514

Summary: m4_native: do_configure failure on Centos-7
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jose Lamego <jose.a.lamego>
Component: devtools / tool chainAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
log file none

Description Jose Lamego 2017-05-16 17:21:45 UTC
Created attachment 3765 [details]
log file

M4_native do_configure task fails on the following environment:

    Operating System: CentOS Linux 7 (Core)
    CPE OS Name: cpe:/o:centos:centos:7
    Kernel: Linux 3.10.0-514.16.1.el7.x86_64
    Architecture: x86-64

Following is log data for command "bitbake m4-native":

Loading cache: 100% |#########################################################################################| Time: 0:00:00
Loaded 1292 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal-4.8"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:2568e18701fb20d7105eb6e4929f3aff4b9f9c06"

Initialising tasks: 100% |####################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: m4-native-1.4.18-r0 do_configure: configure failed
ERROR: m4-native-1.4.18-r0 do_configure: Function failed: do_configure (log file is located at /home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_configure.22657)
ERROR: Logfile of failure stored in: /home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_configure.22657
Log data follows:
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| NOTE: Running ../m4-1.4.18/configure  --build=x86_64-linux 		  --host=x86_64-linux 		  --target=x86_64-linux 		  --prefix=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr 		  --exec_prefix=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr 		  --bindir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/bin 		  --sbindir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/sbin 		  --libexecdir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/libexec 		  --datadir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/share 		  --sysconfdir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/etc 		  --sharedstatedir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/com 		  --localstatedir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/var 		  --libdir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/lib 		  --includedir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include 		  --oldincludedir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include 		  --infodir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/share/info 		  --mandir=/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/share/man 		  --disable-silent-rules 		  --disable-dependency-tracking 		    --without-libsigsegv-prefix --disable-static
| NOTE: The following config.log files may provide further information.
| NOTE: /home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/config.log
| ERROR: configure failed
| configure: WARNING: unrecognized options: --disable-static
| checking for a BSD-compatible install... /home/jalamego/temp_repo/poky/build/tmp/hosttools/install -c
| checking whether build environment is sane... yes
| checking for a thread-safe mkdir -p... /home/jalamego/temp_repo/poky/build/tmp/hosttools/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking whether make supports nested variables... yes
| checking whether make supports nested variables... (cached) yes
| checking for x86_64-linux-gcc... gcc
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... configure: error: in `/home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build':
| configure: error: cannot run C compiled programs.
| If you meant to cross compile, use `--host'.
| See `config.log' for more details
| WARNING: /home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_configure.22657:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at /home/jalamego/temp_repo/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_configure.22657)
ERROR: Task (/home/jalamego/temp_repo/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 30 tasks of which 29 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/jalamego/temp_repo/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Jose Lamego 2017-05-17 21:50:30 UTC
I couldn't reproduce the issue in same system, same configuration the very next day.
I'm closing this bug as invalid now.