develooper Front page | perl.perl5.porters | Postings from December 2016

[perl #129348] File::Find issue with link counts on Bash on Ubuntuon Windows

Thread Next
From:
James E Keenan via RT
Date:
December 31, 2016 00:38
Subject:
[perl #129348] File::Find issue with link counts on Bash on Ubuntuon Windows
Message ID:
rt-4.0.24-4494-1483144681-1646.129348-15-0@perl.org
On Sat, 24 Sep 2016 14:55:10 GMT, michiel.beijen@gmail.com wrote:
> This is a bug report for perl from michiel.beijen@gmail.com,
> generated with the help of perlbug 1.39 running under perl 5.18.2.
> 
> -----------------------------------------------------------------
> The product Bash on Ubuntu on Windows provides a way to run Linux
> software on a Windows kernel without virtualization. See:
> 
> https://msdn.microsoft.com/en-us/commandline/wsl/about
> 
> It uses Ubuntu 14.04 with a modified kernel.
> 
> Its filesystem does not handle link counts correctly, and perl is
> not able to detect that itself.
> This means that File::Find will not be able to traverse directories
> properly and you'll not be able to install perl modules on the system
> perl.
> 
> A workaround for that is
> sed -ri 's/dont_use_nlink => .*?,$/dont_use_nlink => 1,/'
> /usr/lib/perl/5.18.2/Config.pm
> 
> Also, you'll not be able to install a new perl on this system
> without enabling the configuration option 'dont_use_nlink'.
> 
> ref:
> http://www.nntp.perl.org/group/perl.perl5.porters/2016/09/msg239937.html
> 
> Ideally, perl's configure script should be able to detect if it can
> use nlink or not automatically.
> --
> Michiel
> 

Can anyone familiar with ./Configure let us know whether this request is feasible?

Thank you very much.


-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=129348

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About