From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/linux-pam: fix musl build
Date: Wed, 7 Feb 2024 00:01:33 +0100 [thread overview]
Message-ID: <20240207000133.71a948a2@windsurf> (raw)
In-Reply-To: <20240206180341.3910-1-fontaine.fabrice@gmail.com>
On Tue, 6 Feb 2024 19:03:41 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following musl build failure raised since bump to version 1.6.0
> in commit 7794fa4c4e1d19a245bb0367cde94560432a2bc5:
>
> pam_namespace.c: In function 'process_line':
> pam_namespace.c:649:41: error: 'SIZE_MAX' undeclared (first use in this function)
> 649 | if (count > UINT_MAX || count > SIZE_MAX / sizeof(uid_t)) {
> | ^~~~~~~~
> pam_namespace.c:41:1: note: 'SIZE_MAX' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
> 40 | #include "argv_parse.h"
> +++ |+#include <stdint.h>
> 41 |
>
> Fixes:
> - http://autobuild.buildroot.org/results/f07360f33010a2cf19aace266faae14a834bd9a4
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0001-pam_namespace-include-stdint-h.patch | 42 +++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100644 package/linux-pam/0001-pam_namespace-include-stdint-h.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-02-06 23:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 18:03 [Buildroot] [PATCH 1/1] package/linux-pam: fix musl build Fabrice Fontaine
2024-02-06 23:01 ` Thomas Petazzoni via buildroot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-30 7:14 Bernd Kuhls
2023-07-30 10:12 ` Thomas Petazzoni via buildroot
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=20240207000133.71a948a2@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.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