[Webkit-unassigned] [Bug 212459] [Flatpak SDK] Missing locale warnings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 12 07:38:56 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212459
--- Comment #5 from Philippe Normand <pnormand at igalia.com> ---
I could reproduce the bug and came up with this, might need more work, but can you check/test?
diff --git a/Tools/flatpak/webkit-bwrap b/Tools/flatpak/webkit-bwrap
index b342a1da7e29..970b671cad6a 100755
--- a/Tools/flatpak/webkit-bwrap
+++ b/Tools/flatpak/webkit-bwrap
@@ -58,6 +58,10 @@ def main(args: list) -> int:
for dst, src in try_bind_mounts.items():
bwrap_args.extend(["--bind-try", src, dst])
+ for env in os.environ.keys():
+ if env.startswith("LC_"):
+ bwrap_args.extend(["--unsetenv", env])
+
command_line = ' '.join(shlex.quote(a) for a in bwrap_args + args)
# os.system return code behaves like os.wait. A 16 bit number with the
# signal in the lower byte and, if the signal is zero, the exit code in
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200612/ae383588/attachment.htm>
More information about the webkit-unassigned
mailing list