* [Buildroot] [PATCH 1/1] package/libostree: fix build without systemd
@ 2022-05-24 17:09 Fabrice Fontaine
2022-05-28 20:10 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-05-24 17:09 UTC (permalink / raw)
To: buildroot; +Cc: Marcus Folkesson, Fabrice Fontaine
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>
---
...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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/libostree: fix build without systemd
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
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-05-28 20:10 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Marcus Folkesson, buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-28 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox