Bug 2661 - portmap 6.0: do_compile failed on fedora 17 64bit
Summary: portmap 6.0: do_compile failed on fedora 17 64bit
Status: VERIFIED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.3
Hardware: x86 x86
: Medium major
Target Milestone: 1.3 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: (P2)
Depends on:
Blocks:
 
Reported: 2012-06-26 09:54 UTC by Robert Yang
Modified: 2012-09-25 13:26 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2012-06-26 09:54:43 UTC
INHERIT += "ccache" (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)
Comment 1 liang li 2012-06-28 10:13:37 UTC
no such error on :
git info:bcc04b2880b44140176e1d2dcc955a3d3942c392
git branch:poky/master
test hosts: Fedora 17 x86_64

run "bitbake portmap":

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't need to be rerun and all succeeded.

Summary: There were 5 WARNING messages shown.
Comment 2 Saul Wold 2012-06-28 14:41:03 UTC
What toolchain are you using for this?
Comment 3 Robert Yang 2012-06-29 01:14:06 UTC
I use the YOCTO's gcc 4.7, seems this issue has gone, I will close it after more investigation.

(In reply to comment #2)
> What toolchain are you using for this?
Comment 4 Robert Yang 2012-07-11 09:09:15 UTC
Can't reproduce it again.
Comment 5 Stefan Stanacar 2012-09-25 13:26:15 UTC
I wasn't able to reproduce this either
Host F17 / x86_64, 1.3_M4 rc3 branch.
Mark as verified.