<?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>5420</bug_id>
          
          <creation_ts>2013-10-30 12:58:31 +0000</creation_ts>
          <short_desc>Building for x86 requires zlib-devel package</short_desc>
          <delta_ts>2013-12-13 17:06:19 +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>OE-Core</product>
          <component>core</component>
          <version>1.5.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sona">sona.sarmadi</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38302</commentid>
    <comment_count>0</comment_count>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-10-30 12:58:31 +0000</bug_when>
    <thetext>Building for x86 requires zlib-devel package. The doc doesn&apos;t mention this !
 

| configure: error: zlib not found
| ./configure: line 5315: exit: cannot: numeric argument required
| ./configure: line 5315: exit: cannot: numeric argument required
| make: *** No rule to make target `MCONFIG&apos;, needed by `config.h&apos;. Stop. 

Installing zlib-devl package solved this build error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38305</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-10-30 13:23:12 +0000</bug_when>
    <thetext>Hi, 

I need a bit more information on this.  What Linux distribution was being run? Ulitimately, I will need to know if this affects any of the other supported distributions.  That is why I copied Paul Eggleton on the bug.  

Thanks, 
scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38306</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-10-30 13:25:54 +0000</bug_when>
    <thetext>Yes, we need details on exactly what is being built here and which item is failing to build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38326</commentid>
    <comment_count>3</comment_count>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-10-31 06:52:14 +0000</bug_when>
    <thetext>Sorry, I forget to mention this. It is on Fedora release 19.

I started installing the required packages mentioned as below in the yocto documentation. I could build images for EVMK2H (Keystone) but got error when building for romley-ivb. 

http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html

1.3.2.2. Fedora Packages

The following list shows the required packages by function given a supported Fedora Linux distribution:

    Essentials: Packages needed to build an image for a headless system:

         $ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch 
         diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
         ccache perl-Data-Dumper perl-Text-ParseWords

I hope this help, let me know if you need additional info.

BR /Sona</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38350</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-10-31 14:59:05 +0000</bug_when>
    <thetext>I&apos;m still missing where this error is coming up specifically...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38359</commentid>
    <comment_count>5</comment_count>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-10-31 16:03:06 +0000</bug_when>
    <thetext>bitbake minimal image. Please let me run this tomorrow and send you the complete output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38446</commentid>
    <comment_count>6</comment_count>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-11-04 06:43:56 +0000</bug_when>
    <thetext>I tried this from a clean installation, installed required packages and run bitbake core-image with following configuration. I couldn&apos;t reproduce this problem. (First time I tried with another DISTRO). 

source oe-init-build-env build-romely 

Build Configuration:
BB_VERSION        = &quot;1.20.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Fedora-19&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;romley-ivb&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5&quot;
TUNE_FEATURES     = &quot;m64&quot;
TARGET_FPU        = &quot;&quot;

 bitbake core-image-minimal


Please close this bug.

BR /Sona</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38486</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-11-04 18:39:07 +0000</bug_when>
    <thetext>So no doc changes necessary.  I don&apos;t know how to CLOSE a bug.  My status menu does not offer that option.

Thanks 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38487</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-11-04 18:45:22 +0000</bug_when>
    <thetext>I&apos;d still like to know which recipe failed to build before closing this, since that doesn&apos;t seem to have been stated anywhere - Sona, could you please let me know?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38504</commentid>
    <comment_count>9</comment_count>
      <attachid>1604</attachid>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-11-05 07:04:04 +0000</bug_when>
    <thetext>Created attachment 1604
log file

Please see the attached log file from &quot;bitbake enea-image-demo&quot; for romley-ivb MACHINE.

Hope this will help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38510</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-11-05 10:17:41 +0000</bug_when>
    <thetext>Ah, now I can see where the problem lies - an undeclared dependency from zisofs-tools-native on zlib-native. This can be resolved entirely within the build system, no host/doc changes required.

I have send a patch for this, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38577</commentid>
    <comment_count>11</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-11-06 10:35:19 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ec57d68e8e97a78a2944b4002d530070aff6130b

This should be backported to dora as well. Robert, could you please take care of that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38643</commentid>
    <comment_count>12</comment_count>
    <who name="Sona">sona.sarmadi</who>
    <bug_when>2013-11-07 12:44:56 +0000</bug_when>
    <thetext>Thanks, it would be good to have the fix in dora as well :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38644</commentid>
    <comment_count>13</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-11-07 12:48:00 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; Fix merged to master:
&gt; 
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
&gt; ?id=ec57d68e8e97a78a2944b4002d530070aff6130b
&gt; 
&gt; This should be backported to dora as well. Robert, could you please take
&gt; care of that?

Thanks, I will.

// Robert</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39398</commentid>
    <comment_count>14</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-12-13 17:06:19 +0000</bug_when>
    <thetext>The fix is now in the dora branch as well:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&amp;id=28cd3e8fb5b2ff2659e5279723b1564cd10f9c71

Marking as resolved.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1604</attachid>
            <date>2013-11-05 07:04:04 +0000</date>
            <delta_ts>2013-11-05 07:04:04 +0000</delta_ts>
            <desc>log file</desc>
            <filename>log.do_compile.13011</filename>
            <type>application/octet-stream</type>
            <size>2994</size>
            <attacher name="Sona">sona.sarmadi</attacher>
            
              <data encoding="base64">REVCVUc6IEV4ZWN1dGluZyBzaGVsbCBmdW5jdGlvbiBkb19jb21waWxlCk5PVEU6IG1ha2UgLWog
MTYgLWUgTUFLRUZMQUdTPQouL2NvbmZpZ3VyZQpjb25maWd1cmU6IGxvYWRpbmcgc2l0ZSBzY3Jp
cHQgL2J1aWxkL0VuZWEtTGludXgtMy4wL3Bva3kvbWV0YS9zaXRlL25hdGl2ZQpjaGVja2luZyBm
b3IgZ2NjLi4uIGdjYwpjaGVja2luZyBmb3IgQyBjb21waWxlciBkZWZhdWx0IG91dHB1dCBmaWxl
IG5hbWUuLi4gYS5vdXQKY2hlY2tpbmcgd2hldGhlciB0aGUgQyBjb21waWxlciB3b3Jrcy4uLiB5
ZXMKY2hlY2tpbmcgd2hldGhlciB3ZSBhcmUgY3Jvc3MgY29tcGlsaW5nLi4uIG5vCmNoZWNraW5n
IGZvciBzdWZmaXggb2YgZXhlY3V0YWJsZXMuLi4gCmNoZWNraW5nIGZvciBzdWZmaXggb2Ygb2Jq
ZWN0IGZpbGVzLi4uIG8KY2hlY2tpbmcgd2hldGhlciB3ZSBhcmUgdXNpbmcgdGhlIEdOVSBDIGNv
bXBpbGVyLi4uIHllcwpjaGVja2luZyB3aGV0aGVyIGdjYyBhY2NlcHRzIC1nLi4uIHllcwpjaGVj
a2luZyBmb3IgZ2NjIG9wdGlvbiB0byBhY2NlcHQgQU5TSSBDLi4uIG5vbmUgbmVlZGVkCmNoZWNr
aW5nIGZvciBzcGVjaWFsIEMgY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