All of lore.kernel.org
 help / color / mirror / Atom feed
* v4.15-rc0 perl locale warnings
@ 2017-11-19 22:27 Pavel Machek
  2017-11-20 15:54 ` Masahiro Yamada
  0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2017-11-19 22:27 UTC (permalink / raw)
  To: kernel list; +Cc: yamada.masahiro, michal.lkml, linux-kbuild

[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]

Hi!

I'm getting quite a lot of perl warnings in v4.15-rc0.

Any ideas what is going on there?

									Pavel

  CC      arch/arm/boot/compressed/fdt_rw.o
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
  	LANGUAGE = "en_US:en",
		 LC_ALL = (unset),
		 	LC_COLLATE = "C",
				   LC_NUMERIC = "C",
				   	      LANG = "en_US.UTF-8"
					          are supported and
  installed on your system.
  perl: warning: Falling back to the standard locale ("C").
    CC      arch/arm/boot/compressed/fdt_ro.o
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	  LANGUAGE = "en_US:en",
	  	   LC_ALL = (unset),
		   	  LC_COLLATE = "C",
			  	     LC_NUMERIC = "C",
				     		LANG = "en_US.UTF-8"
						    are supported and
  installed on your system.
  perl: warning: Falling back to the standard locale ("C").
    CC      arch/arm/boot/compressed/fdt_wip.o
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	  LANGUAGE = "en_US:en",
	  	   LC_ALL = (unset),
		   	  LC_COLLATE = "C",
			  	     LC_NUMERIC = "C",
				     		LANG = "en_US.UTF-8"
						    are supported and
  installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: v4.15-rc0 perl locale warnings
  2017-11-19 22:27 v4.15-rc0 perl locale warnings Pavel Machek
@ 2017-11-20 15:54 ` Masahiro Yamada
  2017-11-27  9:46     ` Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: Masahiro Yamada @ 2017-11-20 15:54 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Michal Marek, Linux Kbuild mailing list

2017-11-20 7:27 GMT+09:00 Pavel Machek <pavel@ucw.cz>:
> Hi!
>
> I'm getting quite a lot of perl warnings in v4.15-rc0.
>
> Any ideas what is going on there?

Sorry, I have no idea.


What I can tell is, the Kbuild pull requests in this MW
did not touch any perl scripts.



>
>                                                                         Pavel
>
>   CC      arch/arm/boot/compressed/fdt_rw.o
>   perl: warning: Setting locale failed.
>   perl: warning: Please check that your locale settings:
>         LANGUAGE = "en_US:en",
>                  LC_ALL = (unset),
>                         LC_COLLATE = "C",
>                                    LC_NUMERIC = "C",
>                                               LANG = "en_US.UTF-8"
>                                                   are supported and
>   installed on your system.
>   perl: warning: Falling back to the standard locale ("C").
>     CC      arch/arm/boot/compressed/fdt_ro.o
>     perl: warning: Setting locale failed.
>     perl: warning: Please check that your locale settings:
>           LANGUAGE = "en_US:en",
>                    LC_ALL = (unset),
>                           LC_COLLATE = "C",
>                                      LC_NUMERIC = "C",
>                                                 LANG = "en_US.UTF-8"
>                                                     are supported and
>   installed on your system.
>   perl: warning: Falling back to the standard locale ("C").
>     CC      arch/arm/boot/compressed/fdt_wip.o
>     perl: warning: Setting locale failed.
>     perl: warning: Please check that your locale settings:
>           LANGUAGE = "en_US:en",
>                    LC_ALL = (unset),
>                           LC_COLLATE = "C",
>                                      LC_NUMERIC = "C",
>                                                 LANG = "en_US.UTF-8"
>                                                     are supported and
>   installed on your system.
>   perl: warning: Falling back to the standard locale ("C").
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



-- 
Best Regards
Masahiro Yamada

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

* [PATCH] fix perl locale warnings in arch/arm/boot/
  2017-11-20 15:54 ` Masahiro Yamada
@ 2017-11-27  9:46     ` Pavel Machek
  0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2017-11-27  9:46 UTC (permalink / raw)
  To: Masahiro Yamada, rmk+kernel, tony, j-keerthy, linux-arm-kernel
  Cc: kernel list, Michal Marek, Linux Kbuild mailing list

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]


Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
warnings.

Fix it by setting default locale.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 45a6b9b..4656e98 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
 
 # Supply kernel BSS size to the decompressor via a linker symbol.
 KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
-		perl -e 'while (<>) { \
+		LC_ALL=C perl -e 'while (<>) { \
 			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
 			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
 		}; printf "%d\n", $$bss_end - $$bss_start;')


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* [PATCH] fix perl locale warnings in arch/arm/boot/
@ 2017-11-27  9:46     ` Pavel Machek
  0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2017-11-27  9:46 UTC (permalink / raw)
  To: linux-arm-kernel


Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
warnings.

Fix it by setting default locale.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 45a6b9b..4656e98 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
 
 # Supply kernel BSS size to the decompressor via a linker symbol.
 KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
-		perl -e 'while (<>) { \
+		LC_ALL=C perl -e 'while (<>) { \
 			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
 			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
 		}; printf "%d\n", $$bss_end - $$bss_start;')


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171127/252b7f1a/attachment.sig>

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

* Re: [PATCH] fix perl locale warnings in arch/arm/boot/
  2017-11-27  9:46     ` Pavel Machek
@ 2017-12-15 20:16       ` Pavel Machek
  -1 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2017-12-15 20:16 UTC (permalink / raw)
  To: Masahiro Yamada, rmk+kernel, tony, j-keerthy, linux-arm-kernel,
	arnd, Linus Torvalds, olof, arm, Andrew Morton, linux
  Cc: kernel list, Michal Marek, Linux Kbuild mailing list

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

On Mon 2017-11-27 10:46:20, Pavel Machek wrote:
> 
> Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
> arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
> warnings.
> 
> Fix it by setting default locale.
> 
> Signed-off-by: Pavel Machek <pavel@ucw.cz>

RMK apparently can't be bothered to fix the stuff he broke. Can
someone take the patch? Arm-soc? Linus? Andrew? 

Thanks,
								Pavel

> diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
> index 45a6b9b..4656e98 100644
> --- a/arch/arm/boot/compressed/Makefile
> +++ b/arch/arm/boot/compressed/Makefile
> @@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
>  
>  # Supply kernel BSS size to the decompressor via a linker symbol.
>  KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
> -		perl -e 'while (<>) { \
> +		LC_ALL=C perl -e 'while (<>) { \
>  			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
>  			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
>  		}; printf "%d\n", $$bss_end - $$bss_start;')
> 
> 



-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* [PATCH] fix perl locale warnings in arch/arm/boot/
@ 2017-12-15 20:16       ` Pavel Machek
  0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2017-12-15 20:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon 2017-11-27 10:46:20, Pavel Machek wrote:
> 
> Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
> arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
> warnings.
> 
> Fix it by setting default locale.
> 
> Signed-off-by: Pavel Machek <pavel@ucw.cz>

RMK apparently can't be bothered to fix the stuff he broke. Can
someone take the patch? Arm-soc? Linus? Andrew? 

Thanks,
								Pavel

> diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
> index 45a6b9b..4656e98 100644
> --- a/arch/arm/boot/compressed/Makefile
> +++ b/arch/arm/boot/compressed/Makefile
> @@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
>  
>  # Supply kernel BSS size to the decompressor via a linker symbol.
>  KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
> -		perl -e 'while (<>) { \
> +		LC_ALL=C perl -e 'while (<>) { \
>  			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
>  			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
>  		}; printf "%d\n", $$bss_end - $$bss_start;')
> 
> 



-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171215/6fe8baf2/attachment.sig>

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

* Re: [PATCH] fix perl locale warnings in arch/arm/boot/
  2017-12-15 20:16       ` Pavel Machek
@ 2017-12-19  8:24         ` Masahiro Yamada
  -1 siblings, 0 replies; 8+ messages in thread
From: Masahiro Yamada @ 2017-12-19  8:24 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Russell King, Tony Lindgren, Keerthy, linux-arm-kernel,
	Arnd Bergmann, Linus Torvalds, Olof Johansson, arm-soc,
	Andrew Morton, Russell King, kernel list, Michal Marek,
	Linux Kbuild mailing list

2017-12-16 5:16 GMT+09:00 Pavel Machek <pavel@ucw.cz>:
> On Mon 2017-11-27 10:46:20, Pavel Machek wrote:
>>
>> Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
>> arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
>> warnings.
>>
>> Fix it by setting default locale.
>>
>> Signed-off-by: Pavel Machek <pavel@ucw.cz>
>
> RMK apparently can't be bothered to fix the stuff he broke. Can
> someone take the patch? Arm-soc? Linus? Andrew?
>
> Thanks,
>                                                                 Pavel

Russell does not directly pick up patches from ML.

If you want him to apply your patch,
you need to put it in his patch tracker.
(patches@arm.linux.org.uk)





>> diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
>> index 45a6b9b..4656e98 100644
>> --- a/arch/arm/boot/compressed/Makefile
>> +++ b/arch/arm/boot/compressed/Makefile
>> @@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
>>
>>  # Supply kernel BSS size to the decompressor via a linker symbol.
>>  KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
>> -             perl -e 'while (<>) { \
>> +             LC_ALL=C perl -e 'while (<>) { \
>>                       $$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
>>                       $$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
>>               }; printf "%d\n", $$bss_end - $$bss_start;')
>>
>>
>
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



-- 
Best Regards
Masahiro Yamada

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

* [PATCH] fix perl locale warnings in arch/arm/boot/
@ 2017-12-19  8:24         ` Masahiro Yamada
  0 siblings, 0 replies; 8+ messages in thread
From: Masahiro Yamada @ 2017-12-19  8:24 UTC (permalink / raw)
  To: linux-arm-kernel

2017-12-16 5:16 GMT+09:00 Pavel Machek <pavel@ucw.cz>:
> On Mon 2017-11-27 10:46:20, Pavel Machek wrote:
>>
>> Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
>> arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
>> warnings.
>>
>> Fix it by setting default locale.
>>
>> Signed-off-by: Pavel Machek <pavel@ucw.cz>
>
> RMK apparently can't be bothered to fix the stuff he broke. Can
> someone take the patch? Arm-soc? Linus? Andrew?
>
> Thanks,
>                                                                 Pavel

Russell does not directly pick up patches from ML.

If you want him to apply your patch,
you need to put it in his patch tracker.
(patches at arm.linux.org.uk)





>> diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
>> index 45a6b9b..4656e98 100644
>> --- a/arch/arm/boot/compressed/Makefile
>> +++ b/arch/arm/boot/compressed/Makefile
>> @@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
>>
>>  # Supply kernel BSS size to the decompressor via a linker symbol.
>>  KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
>> -             perl -e 'while (<>) { \
>> +             LC_ALL=C perl -e 'while (<>) { \
>>                       $$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
>>                       $$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
>>               }; printf "%d\n", $$bss_end - $$bss_start;')
>>
>>
>
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



-- 
Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2017-12-19  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-19 22:27 v4.15-rc0 perl locale warnings Pavel Machek
2017-11-20 15:54 ` Masahiro Yamada
2017-11-27  9:46   ` [PATCH] fix perl locale warnings in arch/arm/boot/ Pavel Machek
2017-11-27  9:46     ` Pavel Machek
2017-12-15 20:16     ` Pavel Machek
2017-12-15 20:16       ` Pavel Machek
2017-12-19  8:24       ` Masahiro Yamada
2017-12-19  8:24         ` Masahiro Yamada

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.