<?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>4412</bug_id>
          
          <creation_ts>2013-04-25 04:07:30 +0000</creation_ts>
          <short_desc>core-image-lsb-sdk build  for  powerpc 64bit boards  is failing</short_desc>
          <delta_ts>2013-05-06 03:07:37 +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>BSPs</product>
          <component>bsps-meta-fsl-ppc</component>
          <version>unspecified</version>
          <rep_platform>Other</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chunrong Guo">b40290</reporter>
          <assigned_to name="Chunrong Guo">b40290</assigned_to>
          <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>32609</commentid>
    <comment_count>0</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-04-25 04:07:30 +0000</bug_when>
    <thetext>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=\&quot;&quot;/var/run/connman&quot;\&quot; -DPLUGINDIR=\&quot;&quot;/usr/lib64/connman/plugins&quot;\&quot; -DSCRIPTDIR=\&quot;&quot;/usr/lib64/connman/scripts&quot;\&quot; -DSTORAGEDIR=\&quot;&quot;/var/lib/connman\&quot;&quot; -DVPN_STORAGEDIR=\&quot;&quot;/var/lib/connman-vpn\&quot;&quot; -DCONFIGDIR=\&quot;&quot;/etc/connman\&quot;&quot; -O2 -pipe -g -feliminate-unused-debug-types -g -c -o tools/supplicant.o tools/supplicant.c
| plugins/tist.c: In function &apos;set_custom_baud_rate&apos;:
| plugins/tist.c:283:18: error: &apos;TCGETS2&apos; 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: &apos;TCSETS2&apos; 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=\&quot;&quot;/var/run/connman&quot;\&quot; -DPLUGINDIR=\&quot;&quot;/usr/lib64/connman/plugins&quot;\&quot; -DSCRIPTDIR=\&quot;&quot;/usr/lib64/connman/scripts&quot;\&quot; -DSTORAGEDIR=\&quot;&quot;/var/lib/connman\&quot;&quot; -DVPN_STORAGEDIR=\&quot;&quot;/var/lib/connman-vpn\&quot;&quot; -DCONFIGDIR=\&quot;&quot;/etc/connman\&quot;&quot; -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=\&quot;&quot;/var/run/connman&quot;\&quot; -DPLUGINDIR=\&quot;&quot;/usr/lib64/connman/plugins&quot;\&quot; -DSCRIPTDIR=\&quot;&quot;/usr/lib64/connman/scripts&quot;\&quot; -DSTORAGEDIR=\&quot;&quot;/var/lib/connman\&quot;&quot; -DVPN_STORAGEDIR=\&quot;&quot;/var/lib/connman-vpn\&quot;&quot; -DCONFIGDIR=\&quot;&quot;/etc/connman\&quot;&quot; -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=\&quot;&quot;/var/run/connman&quot;\&quot; -DPLUGINDIR=\&quot;&quot;/usr/lib64/connman/plugins&quot;\&quot; -DSCRIPTDIR=\&quot;&quot;/usr/lib64/connman/scripts&quot;\&quot; -DSTORAGEDIR=\&quot;&quot;/var/lib/connman\&quot;&quot; -DVPN_STORAGEDIR=\&quot;&quot;/var/lib/connman-vpn\&quot;&quot; -DCONFIGDIR=\&quot;&quot;/etc/connman\&quot;&quot; -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 &quot;connman &quot; .
build connman for powerpc 64bit boards is always failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32672</commentid>
    <comment_count>1</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-04-26 03:22:04 +0000</bug_when>
    <thetext>tist of connman do not support powerpc64.
the patch is submitted and under review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32886</commentid>
    <comment_count>2</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-05-06 03:05:27 +0000</bug_when>
    <thetext>http://patches.openembedded.org/patch/48935/
the patch is applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32887</commentid>
    <comment_count>3</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-05-06 03:07:37 +0000</bug_when>
    <thetext>build connman for powerpc 64bit boards is successful.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>