All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env
@ 2021-12-27  7:23 Max Filippov
  2021-12-27  8:57 ` Thomas Petazzoni
  2022-01-24 17:36 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Max Filippov @ 2021-12-27  7:23 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

Configuring coreutils with gl_cv_func_fstatat_zero_flag=no results in
non-functional lchmod library function which causes 'mkfifo -m' to
always complete with the message 'cannot set permissions of ...: Invalid
argument' and an error exit code. gl_cv_func_fstatat_zero_flag=no is not
needed when building coreutils-9.0 for linux and its setting should be
correctly determined by the configure script.
Drop gl_cv_func_fstatat_zero_flag=no from the coreutils configure
environment.

For more details see
https://lists.buildroot.org/pipermail/buildroot/2021-December/631388.html

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 package/coreutils/coreutils.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 9c0f46cb29e2..a31354ac5abb 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -45,7 +45,6 @@ COREUTILS_CONF_ENV = ac_cv_c_restrict=no \
 	gl_cv_func_getcwd_null=yes \
 	gl_cv_func_getcwd_path_max=yes \
 	gl_cv_func_gettimeofday_clobber=no \
-	gl_cv_func_fstatat_zero_flag=no \
 	gl_cv_func_link_follows_symlink=no \
 	gl_cv_func_re_compile_pattern_working=yes \
 	gl_cv_func_svid_putenv=yes \
-- 
2.20.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env
  2021-12-27  7:23 [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env Max Filippov
@ 2021-12-27  8:57 ` Thomas Petazzoni
  2022-01-24 17:36 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2021-12-27  8:57 UTC (permalink / raw)
  To: Max Filippov; +Cc: buildroot

On Sun, 26 Dec 2021 23:23:44 -0800
Max Filippov <jcmvbkbc@gmail.com> wrote:

> Configuring coreutils with gl_cv_func_fstatat_zero_flag=no results in
> non-functional lchmod library function which causes 'mkfifo -m' to
> always complete with the message 'cannot set permissions of ...: Invalid
> argument' and an error exit code. gl_cv_func_fstatat_zero_flag=no is not
> needed when building coreutils-9.0 for linux and its setting should be
> correctly determined by the configure script.
> Drop gl_cv_func_fstatat_zero_flag=no from the coreutils configure
> environment.
> 
> For more details see
> https://lists.buildroot.org/pipermail/buildroot/2021-December/631388.html
> 
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
>  package/coreutils/coreutils.mk | 1 -
>  1 file changed, 1 deletion(-)

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

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

* Re: [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env
  2021-12-27  7:23 [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env Max Filippov
  2021-12-27  8:57 ` Thomas Petazzoni
@ 2022-01-24 17:36 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-01-24 17:36 UTC (permalink / raw)
  To: Max Filippov; +Cc: Thomas Petazzoni, buildroot

>>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:

 > Configuring coreutils with gl_cv_func_fstatat_zero_flag=no results in
 > non-functional lchmod library function which causes 'mkfifo -m' to
 > always complete with the message 'cannot set permissions of ...: Invalid
 > argument' and an error exit code. gl_cv_func_fstatat_zero_flag=no is not
 > needed when building coreutils-9.0 for linux and its setting should be
 > correctly determined by the configure script.
 > Drop gl_cv_func_fstatat_zero_flag=no from the coreutils configure
 > environment.

 > For more details see
 > https://lists.buildroot.org/pipermail/buildroot/2021-December/631388.html

 > Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

Committed to 2021.02.x and 2021.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-01-24 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27  7:23 [Buildroot] [PATCH] package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env Max Filippov
2021-12-27  8:57 ` Thomas Petazzoni
2022-01-24 17:36 ` Peter Korsgaard

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.