Patchwork connman: update to 1.13

login
register
mail settings
Submitter ml@communistcode.co.uk
Date April 24, 2013, 2:26 p.m.
Message ID <1366813574-21199-1-git-send-email-ml@communistcode.co.uk>
Download mbox | patch
Permalink /patch/48745/
State New
Headers show

Comments

ml@communistcode.co.uk - April 24, 2013, 2:26 p.m.
From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

- Removed upstream commited patch
- Updated git tag srcrev

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 .../connman/connman/add-in.h-for-ipv6.patch          | 20 --------------------
 .../connman/{connman_1.12.bb => connman_1.13.bb}     |  6 +++---
 2 files changed, 3 insertions(+), 23 deletions(-)
 delete mode 100644 meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
 rename meta/recipes-connectivity/connman/{connman_1.12.bb => connman_1.13.bb} (78%)
Ross Burton - April 24, 2013, 2:29 p.m.
On 24 April 2013 15:26, Jack Mitchell <ml@communistcode.co.uk> wrote:
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> - Removed upstream commited patch
> - Updated git tag srcrev

Under what environments was this tested?

Cheers,
Ross
ml@communistcode.co.uk - April 24, 2013, 2:33 p.m.
On 24/04/13 15:29, Burton, Ross wrote:
> On 24 April 2013 15:26, Jack Mitchell <ml@communistcode.co.uk> wrote:
>> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>>
>> - Removed upstream commited patch
>> - Updated git tag srcrev
> Under what environments was this tested?
>
> Cheers,
> Ross

Run time tested on a beaglebone, armv7a.

Specifically ethernet provisioning. I needed a patch present in 1.13  
which was my motivation for pushing ahead.
Ross Burton - April 24, 2013, 2:46 p.m.
On 24 April 2013 15:33, Jack Mitchell <ml@communistcode.co.uk> wrote:
> Run time tested on a beaglebone, armv7a.
>
> Specifically ethernet provisioning. I needed a patch present in 1.13  which
> was my motivation for pushing ahead.

Doing a qemu run would mean a lot as connman upgrades are great at
breaking the configuration there...

Ross
ml@communistcode.co.uk - April 25, 2013, 8:36 a.m.
On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
> Hello,
>   I build connman with toolchain(64bit).
>
> 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
> | ERROR: Function failed: do_compile (see /local/home/b19537/gcr/opensource/poky/buildmaster/tmp/work/ppc64e5500-poky-linux/connman/1.12-r19.0/temp/log.do_compile.24096 for further information)
> $<50>ERROR: Task 6 (/local/home/b19537/gcr/opensource/poky/meta/recipes-connectivity/connman/connman_1.12.bb, do_compile) failed with exit code '1'
> $<50>NOTE: Tasks Summary: Attempted 1684 tasks of which 1107 didn't need to be rerun and 1 failed.
> No currently running tasks (1684 of 1691)
>
> Can this be avoided?
>
> Thanks,
> chunrong
>
>
>
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of Jack Mitchell
> Sent: Wednesday, April 24, 2013 10:26 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Jack Mitchell
> Subject: [OE-core] [PATCH] connman: update to 1.13
>
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> - Removed upstream commited patch
> - Updated git tag srcrev
>
> Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> ---
>   .../connman/connman/add-in.h-for-ipv6.patch          | 20 --------------------
>   .../connman/{connman_1.12.bb => connman_1.13.bb}     |  6 +++---
>   2 files changed, 3 insertions(+), 23 deletions(-)  delete mode 100644 meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
>   rename meta/recipes-connectivity/connman/{connman_1.12.bb => connman_1.13.bb} (78%)
>
> diff --git a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch b/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
> deleted file mode 100644
> index 8ee0b6f..0000000
> --- a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -
> -The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct -which is defined by netinet/in.h which is not included prior.
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Saul Wold <sgw@linux.intel.com>
> -
> -Index: git/src/tethering.c
> -===================================================================
> ---- git.orig/src/tethering.c
> -+++ git/src/tethering.c
> -@@ -35,6 +35,7 @@
> - #include <string.h>
> - #include <fcntl.h>
> - #include <linux/if_tun.h>
> -+#include <netinet/in.h>
> - #include <linux/if_bridge.h>
> -
> - #include "connman.h"
> diff --git a/meta/recipes-connectivity/connman/connman_1.12.bb b/meta/recipes-connectivity/connman/connman_1.13.bb
> similarity index 78%
> rename from meta/recipes-connectivity/connman/connman_1.12.bb
> rename to meta/recipes-connectivity/connman/connman_1.13.bb
> index 5ba4032..4f23538 100644
> --- a/meta/recipes-connectivity/connman/connman_1.12.bb
> +++ b/meta/recipes-connectivity/connman/connman_1.13.bb
> @@ -1,13 +1,13 @@
>   require connman.inc
>   
> -# 1.12 tag
> -SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad"
> +# 1.13 tag
> +SRCREV = "96fcd8871531c9012135110769618d65a3523b4d"
>   SRC_URI  = "git://git.kernel.org/pub/scm/network/connman/connman.git \
>               file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
>               file://add_xuser_dbus_permission.patch \
>               file://connman \
>               file://inet-fix-ip-cleanup-functions.patch \
> -            file://add-in.h-for-ipv6.patch"
> +            "
>   S = "${WORKDIR}/git"
>   PR = "${INC_PR}.0"
>   
> --
> 1.8.2.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>

Looks like one for upstream, I'll chase it up.

Cheers,
Jack.
ml@communistcode.co.uk - April 25, 2013, 8:48 a.m.
On 25/04/13 09:36, Jack Mitchell wrote:
> On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
>> Hello,
>>   I build connman with toolchain(64bit).
>>
>> [snip]
>>
>
> Looks like one for upstream, I'll chase it up.
>
> Cheers,
> Jack.
>

Could you do me a favour and see if you can find a reference to TCGETS2 
in your sysroot?
chunrong guo - April 25, 2013, 8:59 a.m.
Hello,
I can find a reference to TCGETS2 in my sysroot

The following information:
p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2         _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef TCGETS2
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */
p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)


thanks,

chunrong

-----Original Message-----
From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of Jack Mitchell
Sent: Thursday, April 25, 2013 4:48 PM
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

On 25/04/13 09:36, Jack Mitchell wrote:
> On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
>> Hello,
>>   I build connman with toolchain(64bit).
>>
>> [snip]
>>
>
> Looks like one for upstream, I'll chase it up.
>
> Cheers,
> Jack.
>

Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?
ml@communistcode.co.uk - April 25, 2013, 9:12 a.m.
Interesting, could you check the following for me please:

1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h

2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h


Thanks,
Jack.


On 25/04/13 09:59, Guo Chunrong-B40290 wrote:
> Hello,
> I can find a reference to TCGETS2 in my sysroot
>
> The following information:
> p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2         _IOR('T', 0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef TCGETS2
> p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */
> p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */
> p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
> p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)
>
>
> thanks,
>
> chunrong
>
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of Jack Mitchell
> Sent: Thursday, April 25, 2013 4:48 PM
> To: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] connman: update to 1.13
>
> On 25/04/13 09:36, Jack Mitchell wrote:
>> On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
>>> Hello,
>>>    I build connman with toolchain(64bit).
>>>
>>> [snip]
>>>
>> Looks like one for upstream, I'll chase it up.
>>
>> Cheers,
>> Jack.
>>
> Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?
>
chunrong guo - April 25, 2013, 10:09 a.m.
1) p5020ds-64b/usr/include/sys/ioctls.h and it includes bits/ioctl-types.h
2) p5020ds-64b/usr/include/bits/ioctl-types.h and it doesn't include asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and it includes asm/ioctls.h

BTW,  I modify TIST = "--disable-tist" in meta/recipes-connectivity/connman/connman.inc"
      And build Connman for p5020ds-64b  successfully.

-----Original Message-----
From: Jack Mitchell [mailto:ml@communistcode.co.uk] 
Sent: Thursday, April 25, 2013 5:13 PM
To: Guo Chunrong-B40290; Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Interesting, could you check the following for me please:

1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h

2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h


Thanks,
Jack.


On 25/04/13 09:59, Guo Chunrong-B40290 wrote:
> Hello,
> I can find a reference to TCGETS2 in my sysroot
>
> The following information:
> p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2         _IOR('T', 0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef 
> TCGETS2 
> p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */ p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */
> p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
> p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
> p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)
>
>
> thanks,
>
> chunrong
>
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org 
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of 
> Jack Mitchell
> Sent: Thursday, April 25, 2013 4:48 PM
> To: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] connman: update to 1.13
>
> On 25/04/13 09:36, Jack Mitchell wrote:
>> On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
>>> Hello,
>>>    I build connman with toolchain(64bit).
>>>
>>> [snip]
>>>
>> Looks like one for upstream, I'll chase it up.
>>
>> Cheers,
>> Jack.
>>
> Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?
>
ml@communistcode.co.uk - April 25, 2013, 11:13 a.m.
On 25/04/13 11:09, Guo Chunrong-B40290 wrote:
> 1) p5020ds-64b/usr/include/sys/ioctls.h and it includes bits/ioctl-types.h
> 2) p5020ds-64b/usr/include/bits/ioctl-types.h and it doesn't include asm/ioctls.h
>
> 3) p5020ds-64b/usr/include/asm/ioctls.h and it includes asm/ioctls.h
>
> BTW,  I modify TIST = "--disable-tist" in meta/recipes-connectivity/connman/connman.inc"
>        And build Connman for p5020ds-64b  successfully.
>
> -----Original Message-----
> From: Jack Mitchell [mailto:ml@communistcode.co.uk]
> Sent: Thursday, April 25, 2013 5:13 PM
> To: Guo Chunrong-B40290; Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH] connman: update to 1.13
>
> Interesting, could you check the following for me please:
>
> 1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h
>
> 2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h
>
> 3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h
>
>
> Thanks,
> Jack.
>
>
> [snip]

Ok, well what that means is that as bits/ioctl-types.h doesn't include 
asm/ioctls.h, asm-generic/ioctls.h never gets included which is where 
TCGETS2 is defined. Whether this is an upstream bug or an unsupported 
feature on powerpc64 I don't know, anyone more knowledgeable care to 
chime in?

Patch

diff --git a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch b/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
deleted file mode 100644
index 8ee0b6f..0000000
--- a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
+++ /dev/null
@@ -1,20 +0,0 @@ 
-
-The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct
-which is defined by netinet/in.h which is not included prior.
-
-Upstream-Status: Pending
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
-Index: git/src/tethering.c
-===================================================================
---- git.orig/src/tethering.c
-+++ git/src/tethering.c
-@@ -35,6 +35,7 @@
- #include <string.h>
- #include <fcntl.h>
- #include <linux/if_tun.h>
-+#include <netinet/in.h>
- #include <linux/if_bridge.h>
- 
- #include "connman.h"
diff --git a/meta/recipes-connectivity/connman/connman_1.12.bb b/meta/recipes-connectivity/connman/connman_1.13.bb
similarity index 78%
rename from meta/recipes-connectivity/connman/connman_1.12.bb
rename to meta/recipes-connectivity/connman/connman_1.13.bb
index 5ba4032..4f23538 100644
--- a/meta/recipes-connectivity/connman/connman_1.12.bb
+++ b/meta/recipes-connectivity/connman/connman_1.13.bb
@@ -1,13 +1,13 @@ 
 require connman.inc
 
-# 1.12 tag
-SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad"
+# 1.13 tag
+SRCREV = "96fcd8871531c9012135110769618d65a3523b4d"
 SRC_URI  = "git://git.kernel.org/pub/scm/network/connman/connman.git \
             file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
             file://add_xuser_dbus_permission.patch \
             file://connman \
             file://inet-fix-ip-cleanup-functions.patch \
-            file://add-in.h-for-ipv6.patch"
+            "
 S = "${WORKDIR}/git"
 PR = "${INC_PR}.0"