Skip to contentSkip to conversation

package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env

PATCH Applied Max Filippov 3 participants 3 messages Dec 27, 2021 – Jan 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/coreutils: drop gl_cv_func_fstatat_zero_flag=no from config env

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

---
 package/coreutils/coreutils.mk | 1 -
 1 file changed, 1 deletion(-)
package/coreutils/coreutils.mk +0 -1
index 9c0f46cb29e2..a31354ac5abb 100644
@@ -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 \
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Sun, 26 Dec 2021 23:23:44 -0800 Max Filippov <[email protected]> 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.

Quoted 7 lines

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

---
 package/coreutils/coreutils.mk | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Max Filippov
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Max" == Max Filippov <[email protected]> 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.

Quoted 4 lines

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

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

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot