Skip to contentSkip to conversation

v4.15-rc0 perl locale warnings

PATCH In review Pavel Machek 2 participants 5 messages Nov 19, 2017 – Dec 19, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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").

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

2017-11-20 7:27 GMT+09:00 Pavel Machek <[email protected]>:

Quoted 5 lines

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.

Quoted 40 lines

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

Signature · 2 lines
Best Regards
Masahiro Yamada
#2 lore raw

PATCH 1/1 fix perl locale warnings in arch/arm/boot/

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

Fix it by setting default locale.

arch/arm/boot/compressed/Makefile +1 -1
index 45a6b9b..4656e98 100644
@@ -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;')
Signature · 9 lines
(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>
#3 lore raw

Re: [PATCH] fix perl locale warnings in arch/arm/boot/

Quoted 8 lines · Pavel Machek

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

Fix it by setting default locale.

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

Thanks,
Pavel

Quoted 15 lines
arch/arm/boot/compressed/Makefile +1 -1
index 45a6b9b..4656e98 100644
@@ -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;')
Signature · 9 lines
(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>
#4 lore raw

Re: [PATCH] fix perl locale warnings in arch/arm/boot/

2017-12-16 5:16 GMT+09:00 Pavel Machek <[email protected]>:

Quoted 8 lines · Pavel Machek
Quoted 7 lines

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

Fix it by setting default locale.

Quoted 7 lines
Quoted 1 line

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)

Quoted 21 lines
Quoted 7 lines
arch/arm/boot/compressed/Makefile +0 -0
index 45a6b9b..4656e98 100644

arch/arm/boot/compressed/Makefile asflags-y := -DZIMAGE · line 124

Quoted 8 lines
arch/arm/boot/compressed/Makefile +1 -1
@@ -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

Signature · 2 lines
Best Regards
Masahiro Yamada