<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6771</bug_id>
          
          <creation_ts>2014-09-28 08:40:08 +0000</creation_ts>
          <short_desc>mozjs fails with autoconf related QA errors</short_desc>
          <delta_ts>2014-09-29 10:35:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>layers</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>mips</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Urbanec">bugzilla.yoctoproject.org</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45917</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Urbanec">bugzilla.yoctoproject.org</who>
    <bug_when>2014-09-28 08:40:08 +0000</bug_when>
    <thetext>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 &apos;/DATA/T3/build-enviroment-core-23/builds/beyonwiz/inihdx/tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/build&apos;
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 &apos;1&apos;

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&gt;&amp;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 &quot;/usr/lib&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45931</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-29 10:35:11 +0000</bug_when>
    <thetext>I&apos;m afraid the Yocto Project doesn&apos;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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>