WSL2

Simon Peyton Jones simonpj at microsoft.com
Wed Mar 10 22:22:33 UTC 2021


|  Hmm, this is quite unfortunate. My recollection is that WSL2 by
|  default runs an Ubuntu image, so I'm somewhat surprised that this is
|  failing.

bash$ uname -a
Linux MSRC-3645512 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

bash$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

|  -----Original Message-----
|  From: Ben Gamari <ben at smart-cactus.org>
|  Sent: 10 March 2021 17:22
|  To: Simon Peyton Jones <simonpj at microsoft.com>; ghc-devs <ghc-
|  devs at haskell.org>
|  Subject: Re: WSL2
|  
|  Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:
|  
|  > Friends
|  > I've just installed WSL2 and built GHC.
|  > I get this (single) validation failure in
|  > libraries/unix/tests/getGroupEntryForName. It seems to be just an
|  > error message wibble, but I can't push a change to master because
|  > that'll affect everyone else.
|  
|  Hmm, this is quite unfortunate. My recollection is that WSL2 by
|  default runs an Ubuntu image, so I'm somewhat surprised that this is
|  failing.
|  
|  Can you paste the output of `uname -a` and `cat /etc/os-release`?
|  
|  Cheers,
|  
|  - Ben



More information about the ghc-devs mailing list