<?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>6781</bug_id>
          
          <creation_ts>2014-09-30 20:33:28 +0000</creation_ts>
          <short_desc>There are no sanity check for /usr/bin/bc command</short_desc>
          <delta_ts>2014-10-06 15:46:16 +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>BSPs</product>
          <component>bsps-meta-xilinx</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tautvydas">gtautvis</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>meta.layer.watcher</cc>
    
    <cc>meta.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>45977</commentid>
    <comment_count>0</comment_count>
    <who name="Tautvydas">gtautvis</who>
    <bug_when>2014-09-30 20:33:28 +0000</bug_when>
    <thetext>There are no sanity check for /usr/bin/bc command. It occurs when compiling oe-core with meta-xilinx on system without bc package.

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 uImage CC=arm-oe-linux-gnueabi-gcc  -mno-thumb-interwork -marm LD=arm-oe-linux-gnueabi-ld.bfd   UIMAGE_LOADADDR=0x8000
|   CHK     include/config/kernel.release
|   CHK     include/generated/uapi/linux/version.h
|   CHK     include/generated/utsrelease.h
| make[1]: `include/generated/mach-types.h&apos; is up to date.
|   CALL    scripts/checksyscalls.sh
|   CHK     include/generated/compile.h
|   BC      kernel/timeconst.h
| /bin/sh: 1: bc: not found
| make[1]: *** [kernel/timeconst.h] Error 127
| make: *** [kernel] Error 2
| make: *** Waiting for unfinished jobs....
| make: *** wait: No child processes.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/xlnx/oe-core/build/tmp-glibc/work/zedboard_zynq7-oe-linux-gnueabi/linux-xlnx/3.14-xilinx+git2b48a8aeea7367359f9eebe55c4a09a05227f32b-r0/temp/log.do_compile.23077)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46004</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-10-01 17:15:13 +0000</bug_when>
    <thetext>We provide bc-native to resolve this in the core, but it appears for whatever reason that this was added to linux-yocto.inc rather than kernel.bbclass. Bruce, should we be moving the DEPENDS?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46005</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2014-10-01 17:35:18 +0000</bug_when>
    <thetext>We can safely remove the DEPENDS. At the time we were only seeing
this on linux-yocto builds, so the change was kept focused to avoid
breaking any other builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46024</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-10-02 09:00:39 +0000</bug_when>
    <thetext>I assume you mean &quot;move&quot; rather than &quot;remove&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46126</commentid>
    <comment_count>4</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2014-10-06 15:46:16 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ff89dfb570ea730c9508b3fb5179a9acdc3f119a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>