Bug 4412

Summary: core-image-lsb-sdk build for powerpc 64bit boards is failing
Product: [Build System, Metadata & Runtime] BSPs Reporter: Chunrong Guo <b40290>
Component: bsps-meta-fsl-ppcAssignee: Chunrong Guo <b40290>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: sgw
Version: unspecified   
Target Milestone: 1.5   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Chunrong Guo 2013-04-25 04:07:30 UTC
branch master

poky:  commit addcfcda84ed6b43b00f569a6060e3b78196ef52
meta-fsl-ppc: commit 7c6eedf2b28aff943f6d715ec34e6dc0d0f5e4b1


build core-image-lsb-sdk for p5020ds-64b is failing.
the following error:
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" -DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o tools/supplicant.o tools/supplicant.c
| plugins/tist.c: In function 'set_custom_baud_rate':
| plugins/tist.c:283:18: error: 'TCGETS2' undeclared (first use in this function)
| plugins/tist.c:283:18: note: each undeclared identifier is reported only once for each function it appears in
| plugins/tist.c:291:18: error: 'TCSETS2' undeclared (first use in this function)
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" -DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/common.o gdhcp/common.c
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" -DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/client.o gdhcp/client.c
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 -I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" -DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/server.o gdhcp/server.c
| make[1]: *** [plugins/plugins_tist_la-tist.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2
| ERROR: oe_runmake failed


but I build core-image-lsb-sdk for p5020ds successfully.
the error is about "connman " .
build connman for powerpc 64bit boards is always failing.
Comment 1 Chunrong Guo 2013-04-26 03:22:04 UTC
tist of connman do not support powerpc64.
the patch is submitted and under review.
Comment 2 Chunrong Guo 2013-05-06 03:05:27 UTC
http://patches.openembedded.org/patch/48935/
the patch is applied.
Comment 3 Chunrong Guo 2013-05-06 03:07:37 UTC
build connman for powerpc 64bit boards is successful.