-
Notifications
You must be signed in to change notification settings - Fork 253
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
fatal error - add_item #282
Comments
Hmm.. Ruby26-x64 used to be my main stay version and I did not face anything like this at all. [1] Could you share your PATH? [2] The one difference I am seeing is that I have Ruby on my C drive rather than D drive as you seem to have... but I don't feel that it should make a difference. [3] I'm assuming you have tried to reinstall Ruby? [4] Which package did you install? Thanks! |
possibly related |
Did some more testing. |
2.6.8+ any older maintenance version work fine. |
Hi @jsh562 - it's 2+ years since the last message. Do you think we can close this? |
What problems are you experiencing?
Installing puma 5.6.4 with native extensions 0 [main] locale (9392) D:\Ruby26-x64\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 000FFFFCD30 001800627DE (0018029394A, 0018026EE41, 00800000000, 000FFFF8B30) 000FFFFCD30 0018004846A (00000000000, 000FFFFCD30, 00180020010, 000FFFFABF0) 000FFFFCD30 001800484A2 (000FFFF9BC0, 00000000001, 00800000000, 00000000001) 000FFFFCD30 001800E7167 (00000000000, 00040000024, 00000000000, 00000000000) 000FFFFCD30 0018012C705 (001800D63F4, 00000000000, 00000000000, 00000000000) 000FFFFCD30 00180048AB8 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 00180047716 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 001800477C4 (00000000000, 00000000000, 00000000000, 00000000000) End of stack trace 0 [main] make (9020) D:\Ruby26-x64\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1 0 [main] make (4616) D:\Ruby26-x64\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1 0 [main] make (10056) D:\Ruby26-x64\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1
occurs on about 20% of gems I try to install (not just puma as shown).
tried on either 2.6 and 2.7 with dev kit installed.
Steps to reproduce
install ruby 2.6 or 2.7 with msys2
install gems
What's the output from
ridk version
?
'`0 [main] locale (8312) D:\Ruby26-x64\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 000FFFFCD30 001800627DE (0018029394A, 0018026EE41, 00800000000, 000FFFF8B30) 000FFFFCD30 0018004846A (00000000000, 000FFFFCD30, 00180020010, 000FFFFABF0) 000FFFFCD30 001800484A2 (000FFFF9BC0, 00000000001, 00800000000, 00000000001) 000FFFFCD30 001800E7167 (00000000000, 00040000024, 00000000000, 00000000000) 000FFFFCD30 0018012C705 (001800D63F4, 00000000000, 00000000000, 00000000000) 000FFFFCD30 00180048AB8 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 00180047716 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 001800477C4 (00000000000, 00000000000, 00000000000, 00000000000) End of stack trace 0 [main] sh (7272) D:\Ruby26-x64\msys64\usr\bin\sh.exe: *** fatal error - add_item ("\??\D:\Ruby26-x64\msys64", "/", ...) failed, errno 1 Stack trace: Frame Function Args 000FFFFCD30 001800627DE (0018029394A, 0018026EE41, 00800000000, 000FFFF8B30) 000FFFFCD30 0018004846A (00000000000, 000FFFFCD30, 00180020010, 000FFFFABF0) 000FFFFCD30 001800484A2 (000FFFF9BC0, 00000000001, 00800000000, 00000000001) 000FFFFCD30 001800E7167 (00000000000, 00040000024, 00000000000, 00000000000) 000FFFFCD30 0018012C705 (001800D63F4, 00000000000, 00000000000, 00000000000) 000FFFFCD30 00180048AB8 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 00180047716 (00000000000, 00000000000, 00000000000, 00000000000) 000FFFFFFF0 001800477C4 (00000000000, 00000000000, 00000000000, 00000000000) End of stack trace D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:139:in
sanitize_hash_encoding': undefined methodmap' for nil:NilClass (NoMethodError) from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:139:in
block in sanitize_hash_encoding'from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:139:in
each' from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:139:in
map'from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:139:in
sanitize_hash_encoding' from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:182:in
print_version'from D:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/ridk.rb:24:in
run!' from D:/Ruby26-x64/bin/ridk.cmd:39:in
The text was updated successfully, but these errors were encountered: