From: Jack Mitchell <ml@communistcode.co.uk>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] connman: update to 1.13
Date: Thu, 25 Apr 2013 09:36:12 +0100 [thread overview]
Message-ID: <5178EAFC.5040704@communistcode.co.uk> (raw)
In-Reply-To: <B21730BB6DA1D24B83348D9301EA417E068280D6@039-SN2MPN1-022.039d.mgd.msft.net>
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.
--
Jack Mitchell (jack@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
next prev parent reply other threads:[~2013-04-25 8:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 14:26 [PATCH] connman: update to 1.13 Jack Mitchell
2013-04-24 14:29 ` Burton, Ross
2013-04-24 14:33 ` Jack Mitchell
2013-04-24 14:46 ` Burton, Ross
[not found] ` <B21730BB6DA1D24B83348D9301EA417E068280D6@039-SN2MPN1-022.039d.mgd.msft.net>
2013-04-25 8:36 ` Jack Mitchell [this message]
2013-04-25 8:48 ` Jack Mitchell
2013-04-25 8:59 ` Guo Chunrong-B40290
2013-04-25 9:12 ` Jack Mitchell
2013-04-25 10:09 ` Guo Chunrong-B40290
2013-04-25 11:13 ` Jack Mitchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5178EAFC.5040704@communistcode.co.uk \
--to=ml@communistcode.co.uk \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox