[Bug 1647120] Re: File::Find does not work on WSL

Balint Reczey balint.reczey at canonical.com
Tue Jun 26 10:36:20 UTC 2018


This seems to be fixed on Bionic on latest Windows.

** Changed in: perl (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1647120

Title:
  File::Find does not work on WSL

Status in perl package in Ubuntu:
  Fix Released

Bug description:
  As per discussion here https://github.com/Microsoft/BashOnWindows/issues/186, WSL confuses File::Find. WSL is the “Windows Subsystem for Linux”, which runs Ubuntu on top of Windows 10.
   
  File::Find sees that $^O is ‘linux’ and uses nlink, which doesn’t work. After some discussion, patching File::Find to special-case for WSL would solve the issue.

  I have a patch that works, see link above. Discussion as to whether
  it's acceptable to be included in perl on Ubuntu is the desired
  outcome of this bug report.

  P5P maintainers direct me to get in touch with perl maintainers for
  Ubuntu, satisfy your requirements for a patch, and then that patch can
  get submitted upstream by you to P5P. This as per @kid51, James E
  Keenan.

  This has been found in perl 5.18.2 on Ubuntu 14.04.5 LTS on
  WSL/Windows 10.

  Since Microsoft/Ubuntu are preparing for 16.04 LTS support in the next
  public update to WSL/Windows 10, it'd make sense to fix the issue for
  that version, and address 14.04 LTS only if desired.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1647120/+subscriptions



More information about the foundations-bugs mailing list