All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Hernandez" <alejandro@enedino.org>
To: OE-core <openembedded-core@lists.openembedded.org>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: Re: [OE-core] [PATCH 14/17] connman: update to 1.38
Date: Wed, 6 May 2020 01:59:51 -0600	[thread overview]
Message-ID: <CAHMutra7BzDZa3nY75AcYRrFoNw6YGp=-tGNHxbAGQzmikwXig@mail.gmail.com> (raw)
In-Reply-To: <20200503162559.946-14-alex.kanavin@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 8332 bytes --]

Hey Alex,

Pretty sure this is causing:

ERROR: connman-1.38-r0 do_package: QA Issue: connman: Files/directories
were installed but not shipped in any package:
/usr/lib/connman/scripts/vpn-script
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
connman: 1 installed and not shipped files. [installed-vs-shipped]

Which probably slipped because the PACKAGECONFIG isn't enabled by default,
I can submit a patch but will have to wait till tomorrow.

Cheers,
Alejandro


On Sun, 3 May 2020 at 10:26, Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> Drop a patch merged upstream.
>
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>  meta/recipes-connectivity/connman/connman.inc |  1 +
>  ...-gweb-fix-segfault-with-musl-v1.1.21.patch | 34 -------------------
>  ...ve-musl-does-not-implement-res_ninit.patch | 20 +++++------
>  .../connman/connman_1.37.bb                   | 17 ----------
>  .../connman/connman_1.38.bb                   | 16 +++++++++
>  5 files changed, 26 insertions(+), 62 deletions(-)
>  delete mode 100644
> meta/recipes-connectivity/connman/connman/0001-gweb-fix-segfault-with-musl-v1.1.21.patch
>  delete mode 100644 meta/recipes-connectivity/connman/connman_1.37.bb
>  create mode 100644 meta/recipes-connectivity/connman/connman_1.38.bb
>
> diff --git a/meta/recipes-connectivity/connman/connman.inc
> b/meta/recipes-connectivity/connman/connman.inc
> index d3eeb3be1c..b60178cefc 100644
> --- a/meta/recipes-connectivity/connman/connman.inc
> +++ b/meta/recipes-connectivity/connman/connman.inc
> @@ -53,6 +53,7 @@ PACKAGECONFIG[nftables] = "--with-firewall=nftables
> ,,libmnl libnftnl,,kernel-mo
>  PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables"
>  PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard"
>  PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
> +PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl"
>
>  INITSCRIPT_NAME = "connman"
>  INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
> diff --git
> a/meta/recipes-connectivity/connman/connman/0001-gweb-fix-segfault-with-musl-v1.1.21.patch
> b/meta/recipes-connectivity/connman/connman/0001-gweb-fix-segfault-with-musl-v1.1.21.patch
> deleted file mode 100644
> index 30f1432cd3..0000000000
> ---
> a/meta/recipes-connectivity/connman/connman/0001-gweb-fix-segfault-with-musl-v1.1.21.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From f0a8c69971b30ea7ca255bb885fdd1179fa5d298 Mon Sep 17 00:00:00 2001
> -From: Nicola Lunghi <nick83ola@gmail.com>
> -Date: Thu, 23 May 2019 07:55:25 +0100
> -Subject: [PATCH] gweb: fix segfault with musl v1.1.21
> -
> -In musl > v1.1.21 freeaddrinfo() implementation changed and
> -was causing a segmentation fault on recent Yocto using musl.
> -
> -See this commit:
> -
> -
> https://git.musl-libc.org/cgit/musl/commit/src/network/freeaddrinfo.c?id=d1395c43c019aec6b855cf3c656bf47c8a719e7f
> -
> -Upstream-Status: Submitted
> ----
> - gweb/gweb.c | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
> -diff --git a/gweb/gweb.c b/gweb/gweb.c
> -index 393afe0a..12fcb1d8 100644
> ---- a/gweb/gweb.c
> -+++ b/gweb/gweb.c
> -@@ -1274,7 +1274,8 @@ static bool is_ip_address(const char *host)
> -       addr = NULL;
> -
> -       result = getaddrinfo(host, NULL, &hints, &addr);
> --      freeaddrinfo(addr);
> -+      if(!result)
> -+              freeaddrinfo(addr);
> -
> -       return result == 0;
> - }
> ---
> -2.19.1
> -
> diff --git
> a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> index 639ccfa2a2..942b9c97b6 100644
> ---
> a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> +++
> b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> @@ -1,7 +1,7 @@
> -From 10b0d16d04b811b1ccd1f9b0cfe757bce8d876a1 Mon Sep 17 00:00:00 2001
> +From c7734e1547db967eccf242fe4b9e8a30b9ff141c Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem@gmail.com>
>  Date: Mon, 6 Apr 2015 23:02:21 -0700
> -Subject: [PATCH 2/3] resolve: musl does not implement res_ninit
> +Subject: [PATCH] resolve: musl does not implement res_ninit
>
>  ported from
>
> http://git.alpinelinux.org/cgit/aports/plain/testing/connman/libresolv.patch
> @@ -9,12 +9,13 @@
> http://git.alpinelinux.org/cgit/aports/plain/testing/connman/libresolv.patch
>  Upstream-Status: Pending
>
>  Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +
>  ---
> - gweb/gresolv.c | 33 ++++++++++++---------------------
> - 1 file changed, 12 insertions(+), 21 deletions(-)
> + gweb/gresolv.c | 34 +++++++++++++---------------------
> + 1 file changed, 13 insertions(+), 21 deletions(-)
>
>  diff --git a/gweb/gresolv.c b/gweb/gresolv.c
> -index 5cf7a9a..3ad8e70 100644
> +index 38a554e..a9e8740 100644
>  --- a/gweb/gresolv.c
>  +++ b/gweb/gresolv.c
>  @@ -36,6 +36,7 @@
> @@ -25,7 +26,7 @@ index 5cf7a9a..3ad8e70 100644
>
>   #include "gresolv.h"
>
> -@@ -875,8 +875,6 @@ GResolv *g_resolv_new(int index)
> +@@ -877,8 +878,6 @@ GResolv *g_resolv_new(int index)
>         resolv->index = index;
>         resolv->nameserver_list = NULL;
>
> @@ -34,7 +35,7 @@ index 5cf7a9a..3ad8e70 100644
>         return resolv;
>   }
>
> -@@ -916,8 +914,6 @@ void g_resolv_unref(GResolv *resolv)
> +@@ -918,8 +917,6 @@ void g_resolv_unref(GResolv *resolv)
>
>         flush_nameservers(resolv);
>
> @@ -43,7 +44,7 @@ index 5cf7a9a..3ad8e70 100644
>         g_free(resolv);
>   }
>
> -@@ -1020,24 +1016,19 @@ guint g_resolv_lookup_hostname(GResolv *resolv,
> const char *hostname,
> +@@ -1022,24 +1019,19 @@ guint g_resolv_lookup_hostname(GResolv *resolv,
> const char *hostname,
>         debug(resolv, "hostname %s", hostname);
>
>         if (!resolv->nameserver_list) {
> @@ -80,6 +81,3 @@ index 5cf7a9a..3ad8e70 100644
>                 }
>
>                 if (!resolv->nameserver_list)
> ---
> -2.5.1
> -
> diff --git a/meta/recipes-connectivity/connman/connman_1.37.bb
> b/meta/recipes-connectivity/connman/connman_1.37.bb
> deleted file mode 100644
> index 00852bf0d6..0000000000
> --- a/meta/recipes-connectivity/connman/connman_1.37.bb
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -require connman.inc
> -
> -SRC_URI  = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
> -
> file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
> -
> file://0001-connman.service-stop-systemd-resolved-when-we-use-co.patch \
> -            file://0001-gweb-fix-segfault-with-musl-v1.1.21.patch \
> -            file://connman \
> -            file://no-version-scripts.patch \
> -"
> -
> -SRC_URI_append_libc-musl = "
> file://0002-resolve-musl-does-not-implement-res_ninit.patch"
> -
> -SRC_URI[md5sum] = "75012084f14fb63a84b116e66c6e94fb"
> -SRC_URI[sha256sum] =
> "6ce29b3eb0bb16a7387bc609c39455fd13064bdcde5a4d185fab3a0c71946e16"
> -
> -RRECOMMENDS_${PN} = "connman-conf"
> -RCONFLICTS_${PN} = "networkmanager"
> diff --git a/meta/recipes-connectivity/connman/connman_1.38.bb
> b/meta/recipes-connectivity/connman/connman_1.38.bb
> new file mode 100644
> index 0000000000..027c41e9af
> --- /dev/null
> +++ b/meta/recipes-connectivity/connman/connman_1.38.bb
> @@ -0,0 +1,16 @@
> +require connman.inc
> +
> +SRC_URI = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
> +
>  file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
> +
>  file://0001-connman.service-stop-systemd-resolved-when-we-use-co.patch \
> +           file://connman \
> +           file://no-version-scripts.patch \
> +           "
> +
> +SRC_URI_append_libc-musl = "
> file://0002-resolve-musl-does-not-implement-res_ninit.patch"
> +
> +SRC_URI[md5sum] = "1ed8745354c7254bdfd4def54833ee94"
> +SRC_URI[sha256sum] =
> "cb30aca97c2f79ccaed8802aa2909ac5100a3969de74c0af8a9d73b85fc4932b"
> +
> +RRECOMMENDS_${PN} = "connman-conf"
> +RCONFLICTS_${PN} = "networkmanager"
> --
> 2.26.1
>
> 
>

[-- Attachment #2: Type: text/html, Size: 13766 bytes --]

  reply	other threads:[~2020-05-06  8:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 16:25 [PATCH 01/17] libinput: add ptest Alexander Kanavin
2020-05-03 16:25 ` [PATCH 02/17] libinput: update 1.15.2 -> 1.15.5 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 03/17] glib-2.0: update 2.62.4 -> 2.64.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 04/17] glib-networking: update to 2.64.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 05/17] gptfdisk: update to 1.0.5 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 06/17] clutter-1.0: update to 1.26.4 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 07/17] diffoscope: update to 143 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 08/17] avahi: merge avahi-ui into the main recipe Alexander Kanavin
2020-05-04 21:01   ` [OE-core] " Khem Raj
2020-05-05 11:09     ` Alexander Kanavin
2020-05-05 18:45       ` Khem Raj
2020-05-03 16:25 ` [PATCH 09/17] avahi: update to 0.8 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 10/17] git: update to 2.26.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 11/17] wpe: update to 1.6.0 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 12/17] vte: update to 0.60.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 13/17] libnotify: update to 0.7.9 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 14/17] connman: update to 1.38 Alexander Kanavin
2020-05-06  7:59   ` Alejandro Hernandez [this message]
2020-05-03 16:25 ` [PATCH 15/17] libcap: update to 2.33 Alexander Kanavin
2020-05-04  8:41   ` [OE-core] " Richard Purdie
2020-05-03 16:25 ` [PATCH 16/17] xkeyboard-config: update to 2.29 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 17/17] gcr: update to 3.36.0 Alexander Kanavin
2020-05-11 18:35   ` [OE-core] " Richard Purdie
2020-05-05  9:42 ` [OE-core] [PATCH 01/17] libinput: add ptest Richard Purdie
2020-05-05 11:58   ` Alexander Kanavin

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='CAHMutra7BzDZa3nY75AcYRrFoNw6YGp=-tGNHxbAGQzmikwXig@mail.gmail.com' \
    --to=alejandro@enedino.org \
    --cc=alex.kanavin@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.