<?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>2661</bug_id>
          
          <creation_ts>2012-06-26 09:54:43 +0000</creation_ts>
          <short_desc>portmap 6.0: do_compile failed on fedora 17 64bit</short_desc>
          <delta_ts>2012-09-25 13:26:15 +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>connectivity</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P2)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>sstncr</cc>
    
    <cc>zhenfeng.zhao</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>22589</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-06-26 09:54:43 +0000</bug_when>
    <thetext>INHERIT += &quot;ccache&quot; (not sure whether this is need or not)

$ bitbake core-image-sato



| ccache i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS  -c -o from_local.o from_local.c
| ccache i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS  -c -o pmap_dump.o pmap_dump.c
| ccache i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS  -c -o pmap_set.o pmap_set.c
| pmap_dump.c:16:21: fatal error: rpc/rpc.h: No such file or directory
| compilation terminated.
| make: *** [pmap_dump.o] Error 1
| make: *** Waiting for unfinished jobs....
| pmap_set.c:13:21: fatal error: rpc/rpc.h: No such file or directory
| compilation terminated.
| make: *** [pmap_set.o] Error 1
| portmap.c:79:21: fatal error: rpc/rpc.h: No such file or directory
| compilation terminated.
| make: *** [portmap.o] Error 1
| pmap_check.c:38:21: fatal error: rpc/rpc.h: No such file or directory
| compilation terminated.
| make: *** [pmap_check.o] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /buildarea2/lyang1/test_new/tmp/work/i586-poky-linux/portmap-6.0-r7/temp/log.do_compile.15577 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22659</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-06-28 10:13:37 +0000</bug_when>
    <thetext>no such error on :
git info:bcc04b2880b44140176e1d2dcc955a3d3942c392
git branch:poky/master
test hosts: Fedora 17 x86_64

run &quot;bitbake portmap&quot;:

NOTE: Running task 699 of 764 (ID: 7, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_compile)
NOTE: package zlib-1.2.7-r0: task do_package_write_rpm: Started
NOTE: package portmap-6.0-r7: task do_compile: Started
NOTE: package portmap-6.0-r7: task do_compile: Succeeded
NOTE: Running task 700 of 764 (ID: 2, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_install)
...
NOTE: Running noexec task 764 of 764 (ID: 5, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_build)
NOTE: Tasks Summary: Attempted 764 tasks of which 567 didn&apos;t need to be rerun and all succeeded.

Summary: There were 5 WARNING messages shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22673</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-06-28 14:41:03 +0000</bug_when>
    <thetext>What toolchain are you using for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22683</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-06-29 01:14:06 +0000</bug_when>
    <thetext>
I use the YOCTO&apos;s gcc 4.7, seems this issue has gone, I will close it after more investigation.

(In reply to comment #2)
&gt; What toolchain are you using for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22987</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-07-11 09:09:15 +0000</bug_when>
    <thetext>Can&apos;t reproduce it again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25689</commentid>
    <comment_count>5</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2012-09-25 13:26:15 +0000</bug_when>
    <thetext>I wasn&apos;t able to reproduce this either
Host F17 / x86_64, 1.3_M4 rc3 branch.
Mark as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>