]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Cirrus CI: Avoid perl warnings about setting locale, Linux task
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 30 Apr 2023 18:45:13 +0000 (20:45 +0200)
committerfxlb <[email protected]>
Sun, 30 Apr 2023 19:48:09 +0000 (19:48 +0000)
The warnings were like:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

.cirrus.yml

index 4d54a675e672e6c3ffa8c40e815e51e9d3197cdd..fed643b0371cbd032d6b2d479c7132c0ed28fbcb 100644 (file)
@@ -40,6 +40,7 @@ linux_task:
   env:
     DEBIAN_FRONTEND: noninteractive
     MAKEFLAGS: -j 5
   env:
     DEBIAN_FRONTEND: noninteractive
     MAKEFLAGS: -j 5
+    LANG: C
   script:
     - apt-get -qy update >/dev/null
     - apt-get -qy install git autoconf make cmake clang gcc bc >/dev/null
   script:
     - apt-get -qy update >/dev/null
     - apt-get -qy install git autoconf make cmake clang gcc bc >/dev/null