Bug 6771 - mozjs fails with autoconf related QA errors
Summary: mozjs fails with autoconf related QA errors
Status: RESOLVED INVALID
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: unspecified
Hardware: x86 mips
: Undecided normal
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-28 08:40 UTC by Peter Urbanec
Modified: 2014-09-29 10:35 UTC (History)
3 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 Peter Urbanec 2014-09-28 08:40:08 UTC
bitbake -b mozjs_17 -c configure

results in:

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/build'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/temp/log.do_configure.9412
ERROR: Task 3 (/DATA/T3/build-enviroment-core-23/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb, do_configure) failed with exit code '1'

using meta-oe master:e997f028f7076fbac9c741ec77bfda0b65257d10

Digging through the logs, this seems like the most likely cause (found in tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/build/config.log)

configure:5494: checking for IceConnectionNumber in -lICE
configure:5513: mipsel-oe-linux-gcc  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/sysroots/inihdx -o conftest  -Os -pipe -g -feliminate-unused-debug-types  -Wl,-O1  -Wl,--as-needed -L/usr/lib conftest.c -lICE   1>&5
/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld: skipping incompatible /usr/lib/libICE.so when searching for -lICE
/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld: skipping incompatible /usr/lib/libc.a when searching for -lc

My level of experience with OE is insufficient for me to figure out what to change to fix this. Help with this would be very much appreaciated.
Comment 1 Paul Eggleton 2014-09-29 10:35:11 UTC
I'm afraid the Yocto Project doesn't generally maintain recipes in meta-oe, but please report this issue to the openembedded-devel@lists.openembedded.org mailing list so that someone there can look into it.