-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nanoc 4.9.2+ crashes when creating hard links on Chrome OS, running inside Termux. #1405
Comments
Hey, I investigated this but unfortunately couldn’t find directly what is causing this. I don’t have a Chromebook device to test this out, unfortunately. Can you do something for me, that would shed more light on the situation?
Hopefully, that will give me enough information to debug this further. |
I tried your suggestions, with these results: The
Manually creating a file in this directory also works, and it has default permissions of |
I also tried running:
This fails with On the other hand, running
succeeds, and |
Can you replace
in
and let me know whether that works? |
Yes, that causes it to work. |
OK, I think #1406 has a workaround — it falls back to not using hardlinking, which is suboptimal, but at least the desires behavior (having the right files in the right places) is there. |
Your patch uses |
Whoops, I thought that was a typo on my part. Fixed. |
I found something relevant: facebook/create-react-app#1832 (comment)
So I suppose that copying (rather than hardlinking) is the proper fix. |
I will merge and release Nanoc once CI has passed. |
Nanoc 4.11.1 is now released. Can you double-check to verify that this release works for you? |
Nanoc 4.9.2+ crashes when creating hard links on Chrome OS, running inside Termux.
Steps to reproduce
Expected behavior
Building the nanoc site
Actual behavior
Crash log:
https://gist.github.com/printfn/6791787b4fb0bb68c86c08b94031a6ea
Details
The issue seems to be caused by the use of hard links in nanoc 4.9.2. I can reproduce it on 4.9.2, and on the latest 4.11.0. The issue does NOT occur on 4.9.1.
I'm using an Acer Chromebook 15 (CB5-571), running nanoc through Termux from the Play Store. The environment is sandboxed, and the developer mode is disabled.
The text was updated successfully, but these errors were encountered: