Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libostree: fix build without systemd
Date: Sat, 28 May 2022 22:10:49 +0200	[thread overview]
Message-ID: <20220528201049.GI301044@scaer> (raw)
In-Reply-To: <20220524170911.2350456-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2022-05-24 19:09 +0200, Fabrice Fontaine spake thusly:
> Fix the following build failure without systemd raised since bump to
> version 2022.03 in commit 0eb073ca2ba89dad2e531644fd33f693d228ef94:
> 
> src/libostree/ostree-sysroot-deploy.c: In function 'child_setup_fchdir':
> src/libostree/ostree-sysroot-deploy.c:2837:19: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
>  2837 |   int fd = (int) (uintptr_t) data;
>       |                   ^~~~~~~~~
>       |                   intptr_t
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/c134d849e7942911cb6bd13869dd2f3aefd8c21c
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...y-add-a-missing-include-for-stdint-h.patch | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch
> 
> diff --git a/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch b/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch
> new file mode 100644
> index 0000000000..35f92c37ff
> --- /dev/null
> +++ b/package/libostree/0001-lib-ostree-sysroot-deploy-add-a-missing-include-for-stdint-h.patch
> @@ -0,0 +1,24 @@
> +From 4b7fc4f1e90bbeac89d2f939cde3070e69b4787a Mon Sep 17 00:00:00 2001
> +From: Luca BRUNO <luca.bruno@coreos.com>
> +Date: Fri, 6 May 2022 10:07:23 +0000
> +Subject: [PATCH] lib/ostree-sysroot-deploy: add a missing include for stdint.h
> +
> +[Retrieved from:
> +https://github.com/ostreedev/ostree/commit/4b7fc4f1e90bbeac89d2f939cde3070e69b4787a]
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + src/libostree/ostree-sysroot-deploy.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
> +index 404f336fb5..96cc07531e 100644
> +--- a/src/libostree/ostree-sysroot-deploy.c
> ++++ b/src/libostree/ostree-sysroot-deploy.c
> +@@ -22,6 +22,7 @@
> + #include <gio/gunixinputstream.h>
> + #include <gio/gunixoutputstream.h>
> + #include <glib-unix.h>
> ++#include <stdint.h>
> + #include <sys/mount.h>
> + #include <sys/statvfs.h>
> + #include <sys/socket.h>
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-05-28 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24 17:09 [Buildroot] [PATCH 1/1] package/libostree: fix build without systemd Fabrice Fontaine
2022-05-28 20:10 ` Yann E. MORIN [this message]

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=20220528201049.GI301044@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=marcus.folkesson@gmail.com \
    /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