<?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>947</bug_id>
          
          <creation_ts>2011-04-01 21:55:34 +0000</creation_ts>
          <short_desc>libnewt-0.52.12-r0, slang: do_compile: Failed</short_desc>
          <delta_ts>2011-04-18 19:04:58 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13103</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-01 21:55:34 +0000</bug_when>
    <thetext>The ERROR log on qemuarm:
http://autobuilder.yoctoproject.org:8010/builders/nightly-external-lsb/builds/7/steps/shell_5/logs/stdio

| mkdir -p shared
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/newt.o newt.c
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/button.o button.c
| Assembler messages:
| Fatal error: can&apos;t create shared/newt.o: No such file or directory
| Assembler messages:
| Fatal error: can&apos;t create shared/button.o: No such file or directory
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/form.o form.c
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/checkbox.o checkbox.c
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/entry.o entry.c
| arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/sysroots/qemuarm -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/label.o label.c
| make: *** [shared/newt.o] Error 2
| make: *** Waiting for unfinished jobs....
| make: *** [shared/button.o] Error 2
| FATAL: oe_runmake failed


The ERROR log on qemux86:
http://autobuilder.yoctoproject.org:8010/builders/nightly-external-lsb/builds/7/steps/shell_3/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13146</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-06 21:37:06 +0000</bug_when>
    <thetext>Dexuan,

I tried to compile libnewt on qemuarm and libnewt was fine. Would you please send me the log file
/srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/work/armv5te-poky-linux-gnueabi/libnewt-0.52.12-r0/temp/log.do_compile.24629

I also meet slang build failed, and do you have the same build failure?

Thank you!
Kai</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13147</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-06 22:28:19 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Dexuan,
&gt; I tried to compile libnewt on qemuarm and libnewt was fine. Would you please
&gt; send me the log file
&gt; /srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/work/armv5te-poky-linux-gnueabi/libnewt-0.52.12-r0/temp/log.do_compile.24629
sorry, looks the file doesn&apos;t exist now, and in the latest arm build, libnewt can build.

In my original report, qemux86 also has the same issue, but looks the latest log doesn&apos;t show the failure:
http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/12/steps/shell_5/logs/stdio -- in it we can see libnewt can build fine.

Maybe this is parallel make issue? 

&gt; I also meet slang build failed, and do you have the same build failure?
I don&apos;t see such an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13153</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-06 23:22:35 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Dexuan,
&gt; &gt; I tried to compile libnewt on qemuarm and libnewt was fine. Would you please
&gt; &gt; send me the log file
&gt; &gt; /srv/home/pokybuild/poky-slave/nightly-external-lsb/build/build/tmp/work/armv5te-poky-linux-gnueabi/libnewt-0.52.12-r0/temp/log.do_compile.24629
&gt; sorry, looks the file doesn&apos;t exist now, and in the latest arm build, libnewt
&gt; can build.
&gt; In my original report, qemux86 also has the same issue, but looks the latest
&gt; log doesn&apos;t show the failure:
&gt; http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/12/steps/shell_5/logs/stdio
&gt; -- in it we can see libnewt can build fine.
&gt; Maybe this is parallel make issue? 
&gt; &gt; I also meet slang build failed, and do you have the same build failure?
&gt; I don&apos;t see such an issue.

Well, now I saw a failure of slang:
http://autobuilder.yoctoproject.org:8010/builders/nightly-external-lsb/builds/9/steps/shell_13/logs/stdio

| powerpc-poky-linux-gcc: slkeymap.o: No such file or directory
| powerpc-poky-linux-gcc: slmalloc.o: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13154</commentid>
    <comment_count>4</comment_count>
      <attachid>134</attachid>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-06 23:44:52 +0000</bug_when>
    <thetext>Created attachment 134
Add DEPENDS for slang to fix compile errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13156</commentid>
    <comment_count>5</comment_count>
      <attachid>134</attachid>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-06 23:46:42 +0000</bug_when>
    <thetext>Comment on attachment 134
Add DEPENDS for slang to fix compile errors.

Dexuan,
could you help me to verify this patch. I have tested it on both qemuarm and qemux86.
Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13161</commentid>
    <comment_count>6</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-07 00:08:07 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Comment on attachment 134 [details]
&gt; Add DEPENDS for slang to fix compile errors.
&gt; Dexuan,
&gt; could you help me to verify this patch. I have tested it on both qemuarm and
&gt; qemux86.
&gt; Thank you!

Hi Kai, sorry, usually I don&apos;t try the patch myself as actually I don&apos;t have the environment, and usually I look at the autobuild nightly logs to verify bugs. :-)

Your patch looks fine. I think you can send it directly to the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13163</commentid>
    <comment_count>7</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-07 00:14:36 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; Comment on attachment 134 [details] [details]
&gt; &gt; Add DEPENDS for slang to fix compile errors.
&gt; &gt; Dexuan,
&gt; &gt; could you help me to verify this patch. I have tested it on both qemuarm and
&gt; &gt; qemux86.
&gt; &gt; Thank you!
&gt; 
&gt; Hi Kai, sorry, usually I don&apos;t try the patch myself as actually I don&apos;t have
&gt; the environment, and usually I look at the autobuild nightly logs to verify
&gt; bugs. :-)
&gt; 
&gt; Your patch looks fine. I think you can send it directly to the mailing list.

Thank you! :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13165</commentid>
    <comment_count>8</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-07 00:34:57 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Created attachment 134 [details]
&gt; Add DEPENDS for slang to fix compile errors.

Hi Kai, btw, can the patch also fix the libnewt do_compile failure?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13166</commentid>
    <comment_count>9</comment_count>
      <attachid>134</attachid>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-07 00:35:42 +0000</bug_when>
    <thetext>Comment on attachment 134
Add DEPENDS for slang to fix compile errors.

Dexuan,
could you help me to verify this patch. I have tested it on both qemuarm and qemux86.
Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13167</commentid>
    <comment_count>10</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-07 00:37:56 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #4)
&gt; &gt; Created attachment 134 [details] [details]
&gt; &gt; Add DEPENDS for slang to fix compile errors.
&gt; 
&gt; Hi Kai, btw, can the patch also fix the libnewt do_compile failure?

Hi Dexuan, I did not see the libnewt build failed, so I am not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13190</commentid>
    <comment_count>11</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-08 15:16:24 +0000</bug_when>
    <thetext>Can someone please verify that this is indeed an issue, I have not seen slang or libnewt failure recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13191</commentid>
    <comment_count>12</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-04-10 19:35:23 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; Can someone please verify that this is indeed an issue, I have not seen slang
&gt; or libnewt failure recently.

Hi Saul,

`bitbake slang ` in a clean yocto repo will reproduce the slang build failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13259</commentid>
    <comment_count>13</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-13 19:52:24 +0000</bug_when>
    <thetext>I saw libnewt still failed on today&apos;s latest poky master:

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;6bf6aec120744211fbabf2b4a167bfd1ab5866fd&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky-lsb&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110413&quot;
TARGET_FPU        = &quot;&quot;

http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/17/steps/shell_3/logs/stdio

| i586-poky-linux-gcc -march=i586 --sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86 -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/form.o form.c
| Assembler messages:
| Fatal error: can&apos;t create shared/button.o: No such file or directory
| i586-poky-linux-gcc -march=i586 --sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86 -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -I/usr/include/slang   -o shared/checkbox.o checkbox.c
| make: *** [shared/button.o] Error 2
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed
NOTE: package libnewt-0.52.12-r0: task do_compile: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13296</commentid>
    <comment_count>14</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-15 01:51:18 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; I saw libnewt still failed on today&apos;s latest poky master:
&gt; OE Build Configuration:
&gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; METADATA_BRANCH   = &quot;master&quot;
&gt; METADATA_REVISION = &quot;6bf6aec120744211fbabf2b4a167bfd1ab5866fd&quot;
&gt; TARGET_ARCH       = &quot;i586&quot;
&gt; TARGET_OS         = &quot;linux&quot;
&gt; MACHINE           = &quot;qemux86&quot;
&gt; DISTRO            = &quot;poky-lsb&quot;
&gt; DISTRO_VERSION    = &quot;1.0+snapshot-20110413&quot;
&gt; TARGET_FPU        = &quot;&quot;
&gt; http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/17/steps/shell_3/logs/stdio
&gt; | i586-poky-linux-gcc -march=i586
&gt; --sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86
&gt; -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE
&gt; -I/usr/include/slang   -o shared/form.o form.c
&gt; | Assembler messages:
&gt; | Fatal error: can&apos;t create shared/button.o: No such file or directory
&gt; | i586-poky-linux-gcc -march=i586
&gt; --sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86
&gt; -fPIC -c -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE
&gt; -I/usr/include/slang   -o shared/checkbox.o checkbox.c
&gt; | make: *** [shared/button.o] Error 2
&gt; | make: *** Waiting for unfinished jobs....
&gt; | FATAL: oe_runmake failed
&gt; NOTE: package libnewt-0.52.12-r0: task do_compile: Failed


Today&apos;s lsb builds are still blocked, so I had a look and made a patch:
http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&amp;id=95f8215966bbb379076078daf089f88a395ed8d5
and will push it out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13334</commentid>
    <comment_count>15</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-18 11:24:03 +0000</bug_when>
    <thetext>*** Bug 995 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13335</commentid>
    <comment_count>16</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-18 11:24:30 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=d02a174cb637ede72cdd6cef28ebde4d12bb97e9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13350</commentid>
    <comment_count>17</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-18 19:04:58 +0000</bug_when>
    <thetext>(In reply to comment #16)
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=d02a174cb637ede72cdd6cef28ebde4d12bb97e9

VERIFY it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>134</attachid>
            <date>2011-04-06 23:44:52 +0000</date>
            <delta_ts>2011-04-06 23:44:52 +0000</delta_ts>
            <desc>Add DEPENDS for slang to fix compile errors.</desc>
            <filename>slang_add_depends.patch</filename>
            <type>text/plain</type>
            <size>427</size>
            <attacher name="Kai Kang">kai.kang</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1leHRlbmRlZC9zbGFuZy9zbGFuZ18yLjIuMi5iYiBi
L21ldGEvcmVjaXBlcy1leHRlbmRlZC9zbGFuZy9zbGFuZ18yLjIuMi5iYgppbmRleCAyOWQ5ZTQ2
Li5iYTRiZTg4IDEwMDY0NAotLS0gYS9tZXRhL3JlY2lwZXMtZXh0ZW5kZWQvc2xhbmcvc2xhbmdf
Mi4yLjIuYmIKKysrIGIvbWV0YS9yZWNpcGVzLWV4dGVuZGVkL3NsYW5nL3NsYW5nXzIuMi4yLmJi
CkBAIC05LDcgKzksNyBAQCB0byByZWNvZGUgUy1MYW5nIHByb2NlZHVyZXMgaW4gQyBpZiB5b3Ug
bmVlZCB0by4iCiAKIFNFQ1RJT04gPSAibGlicyIKIFBSSU9SSVRZID0gIm9wdGlvbmFsIgotREVQ
RU5EUyA9ICJwY3JlIgorREVQRU5EUyA9ICJwY3JlIGxpYngxMSBsaWJwbmciCiBQUiA9ICJyMiIK
IAogTElDRU5TRSA9ICJHUEwgQXJ0aXN0aWMiCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>