Re: Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)
Bryan Evenson
Ross,
From: Burton, Ross [mailto:ross.burton@...]
Sent: Wednesday, September 27, 2017 9:06 AM To: Bryan Evenson <bevenson@...> Cc: yocto@... Subject: Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)
On 27 September 2017 at 13:57, Bryan Evenson <bevenson@...> wrote:
Good digging. At least you can replicate it on demand, and have a strace showing it. This bit of packaging happens before the rpm/opkg/deb specific code, so changing the packaging format won't help.
I think I found the problem. I started looking at more file properties for the files that worked and the ones that didn’t, and I noticed that all the ones that failed show a link count of 1024. The Windows filesystem has a link limit of 1023 links per file (at least as reported here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363860(v=vs.85).aspx), so I think the hard link is failing due to the Windows link limit. If that is the case, then I don’t think it’ll be a quick fix to get a working solution under WSL.
Bryan |
|