Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd: fix build with resolved enabled
@ 2019-06-26  8:35 Jörg Hofrichter
  2019-06-26  9:00 ` ✗ patchtest: failure for " Patchwork
  2019-06-26 15:06 ` [PATCH] " Burton, Ross
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Hofrichter @ 2019-06-26  8:35 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

From: Joerg Hofrichter <joerg.hofrichter@ni.com>
Date: Wed, 26 Jun 2019 10:30:34 +0200
Subject: [PATCH] systemd: fix build with resolved enabled

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
---
 ...e-also-add-missing.h-needed-for-musl.patch | 25 +++++++++++++++++++
 meta/recipes-core/systemd/systemd_242.bb      |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch

diff --git a/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
new file mode 100644
index 0000000000..9c29944511
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
@@ -0,0 +1,25 @@
+From afddcc9f6686b85380f2c4ac15f901012b725b1e Mon Sep 17 00:00:00 2001
+From: Joerg Hofrichter <joerg.hofrichter@ni.com>
+Date: Wed, 26 Jun 2019 08:04:50 +0000
+Subject: [PATCH] resolve: also add missing.h (needed for musl)
+
+Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
+---
+ src/resolve/resolvectl.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c
+index 1d2fc71309..b12c80f125 100644
+--- a/src/resolve/resolvectl.c
++++ b/src/resolve/resolvectl.c
+@@ -30,6 +30,7 @@
+ #include "strv.h"
+ #include "terminal-util.h"
+ #include "verbs.h"
++#include "missing.h"
+
+ static int arg_family = AF_UNSPEC;
+ static int arg_ifindex = 0;
+--
+2.17.1
+
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index 29f64b995a..4c72890d28 100644
--- a/meta/recipes-core/systemd/systemd_242.bb
+++ b/meta/recipes-core/systemd/systemd_242.bb
@@ -53,6 +53,7 @@ SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.pa
                file://0024-test-json.c-define-M_PIl.patch \
                file://0025-fs-utilh-add-missing-sys-stat-include.patch \
                file://0001-do-not-disable-buffer-in-writing-files.patch \
+               file://0026-resolve-also-add-missing.h-needed-for-musl.patch \
                "

 PAM_PLUGINS = " \
@@ -102,7 +103,6 @@ PACKAGECONFIG_remove_libc-musl = " \
     nss \
     nss-mymachines \
     nss-resolve \
-    resolved \
     smack \
     sysusers \
     utmp \
--
2.17.1
National Instruments Dresden GmbH; Geschäftsführer (Managing Director): Dr. Thorsten Dräger; Sitz (Registered Office): Dresden; HRB (Commercial Register No.): 22081; Registergericht (Registration Court): Dresden

This email and any attachments are intended only for the person to whom this email is addressed and may contain confidential and/or privileged information. If you received this email in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system.


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ patchtest: failure for systemd: fix build with resolved enabled
  2019-06-26  8:35 [PATCH] systemd: fix build with resolved enabled Jörg Hofrichter
@ 2019-06-26  9:00 ` Patchwork
  2019-06-26 15:06 ` [PATCH] " Burton, Ross
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-06-26  9:00 UTC (permalink / raw)
  To: Jörg Hofrichter; +Cc: openembedded-core

== Series Details ==

Series: systemd: fix build with resolved enabled
Revision: 1
URL   : https://patchwork.openembedded.org/series/18353/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format] 
  Suggested fix    Add Upstream-Status: <Valid status> to the header of meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
  Standard format  Upstream-Status: <Valid status>
  Valid status     Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] systemd: fix build with resolved enabled
  2019-06-26  8:35 [PATCH] systemd: fix build with resolved enabled Jörg Hofrichter
  2019-06-26  9:00 ` ✗ patchtest: failure for " Patchwork
@ 2019-06-26 15:06 ` Burton, Ross
  1 sibling, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2019-06-26 15:06 UTC (permalink / raw)
  To: Jörg Hofrichter; +Cc: openembedded-core@lists.openembedded.org

The patch doesn't have an Upstream-Status tag, and at no point do you
explain in the log that this is for musl, and results in resolved
being enabled in musl builds.

Ross

On Wed, 26 Jun 2019 at 09:36, Jörg Hofrichter <Joerg.Hofrichter@ni.com> wrote:
>
> From: Joerg Hofrichter <joerg.hofrichter@ni.com>
> Date: Wed, 26 Jun 2019 10:30:34 +0200
> Subject: [PATCH] systemd: fix build with resolved enabled
>
> Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
> ---
>  ...e-also-add-missing.h-needed-for-musl.patch | 25 +++++++++++++++++++
>  meta/recipes-core/systemd/systemd_242.bb      |  2 +-
>  2 files changed, 26 insertions(+), 1 deletion(-)
>  create mode 100644 meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
>
> diff --git a/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
> new file mode 100644
> index 0000000000..9c29944511
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
> @@ -0,0 +1,25 @@
> +From afddcc9f6686b85380f2c4ac15f901012b725b1e Mon Sep 17 00:00:00 2001
> +From: Joerg Hofrichter <joerg.hofrichter@ni.com>
> +Date: Wed, 26 Jun 2019 08:04:50 +0000
> +Subject: [PATCH] resolve: also add missing.h (needed for musl)
> +
> +Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
> +---
> + src/resolve/resolvectl.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c
> +index 1d2fc71309..b12c80f125 100644
> +--- a/src/resolve/resolvectl.c
> ++++ b/src/resolve/resolvectl.c
> +@@ -30,6 +30,7 @@
> + #include "strv.h"
> + #include "terminal-util.h"
> + #include "verbs.h"
> ++#include "missing.h"
> +
> + static int arg_family = AF_UNSPEC;
> + static int arg_ifindex = 0;
> +--
> +2.17.1
> +
> diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
> index 29f64b995a..4c72890d28 100644
> --- a/meta/recipes-core/systemd/systemd_242.bb
> +++ b/meta/recipes-core/systemd/systemd_242.bb
> @@ -53,6 +53,7 @@ SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.pa
>                 file://0024-test-json.c-define-M_PIl.patch \
>                 file://0025-fs-utilh-add-missing-sys-stat-include.patch \
>                 file://0001-do-not-disable-buffer-in-writing-files.patch \
> +               file://0026-resolve-also-add-missing.h-needed-for-musl.patch \
>                 "
>
>  PAM_PLUGINS = " \
> @@ -102,7 +103,6 @@ PACKAGECONFIG_remove_libc-musl = " \
>      nss \
>      nss-mymachines \
>      nss-resolve \
> -    resolved \
>      smack \
>      sysusers \
>      utmp \
> --
> 2.17.1
> National Instruments Dresden GmbH; Geschäftsführer (Managing Director): Dr. Thorsten Dräger; Sitz (Registered Office): Dresden; HRB (Commercial Register No.): 22081; Registergericht (Registration Court): Dresden
>
> This email and any attachments are intended only for the person to whom this email is addressed and may contain confidential and/or privileged information. If you received this email in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system.
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-26 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-26  8:35 [PATCH] systemd: fix build with resolved enabled Jörg Hofrichter
2019-06-26  9:00 ` ✗ patchtest: failure for " Patchwork
2019-06-26 15:06 ` [PATCH] " Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox