-
Notifications
You must be signed in to change notification settings - Fork 256
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
can't open C:\Users\��\AppData\Local\Temp\cc4K9XbU.s for reading: Illegal byte sequence make: *** [Makefile:247: c99func.o] #320
Comments
Can you explain, what you're trying to do? |
I'm trying to make my github.io using jekyll-theme-chirpy. |
The "Steps to reproduce" above are an important part of a bug report. No one can help you, if you don't tell the command(s) you executed and the output text of them. I just did an successful jekyll install - it looks like so:
|
I put the same command: gem inst jekyll, but the results are same. Thanks for help anyway! I think I should read the manual carefully and try again... |
Could it be that the username you're using consists of an invalid byte sequence? The error message looks like that. You might try an ASCII only name instead. |
@larskanis - I wonder if this is related to this earlier issue: #265 |
@yunkyukim Could you post command output as @larskanis requested at #320 (comment)? Copy whole command output, not only the error lines, and paste it in a code block. The location of the error may be a hint to resolve this. By the way, it may be fixed by changing
|
@kubo My username is in Korean so I guess it is the reason.
|
@yunkyukim I reproduced this issue by setting
|
Thank you @kubo ! I can reproduce the issue as well by setting diff --git a/lib/ruby/3.1.0/x64-mingw-ucrt/rbconfig.rb b/lib/ruby/3.1.0/x64-mingw-ucrt/rbconfig.rb
index d82a209..4828a08 100644
--- a/lib/ruby/3.1.0/x64-mingw-ucrt/rbconfig.rb
+++ b/lib/ruby/3.1.0/x64-mingw-ucrt/rbconfig.rb
@@ -174,8 +174,8 @@ module RbConfig
CONFIG["CXXFLAGS"] = "-march=nocona -msahf -mtune=generic -O2 -pipe"
CONFIG["OBJEXT"] = "o"
CONFIG["CPPFLAGS"] = "-D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT $(DEFS) $(cppflags)"
- CONFIG["LDFLAGS"] = "-L. -pipe -s -fstack-protector-strong -Wl,--no-as-needed"
- CONFIG["CFLAGS"] = "-O3 -fno-fast-math -fstack-protector-strong"
+ CONFIG["LDFLAGS"] = "-L. -pipe -save-temps -s -fstack-protector-strong -Wl,--no-as-needed"
+ CONFIG["CFLAGS"] = "-O3 -pipe -fno-fast-math -fstack-protector-strong"
CONFIG["STRIP"] = "strip -S -x"
CONFIG["RANLIB"] = "x86_64-w64-mingw32-gcc-ranlib"
CONFIG["OBJDUMP"] = "objdump" I wonder if we should enable these options by default in RubyInstaller. |
.. to work around Unicode path issue oneclick/rubyinstaller2#320
.. to work around Unicode path issue oneclick/rubyinstaller2#320
This is just information. I'm not against the fix. In aa15f1a
cmd in Japanese version of Windows supports Unicode characters as long as they are in CP932 (ANSI and OEM code page in Japanese version). I bet that In order to check it, I set
The byte sequence of
|
What problems are you experiencing?
can't open C:\Users\��\AppData\Local\Temp\cc4K9XbU.s for reading: Illegal byte sequence
make: *** [Makefile:247: c99func.o]
Steps to reproduce
What's the output from
ridk version
?ruby:
path: C:/Ruby31-x64
version: 3.1.3
platform: x64-mingw-ucrt
ruby_installer:
package_version: 3.1.3-1
git_commit: a09714d
msys2:
path: C:\Ruby31-x64\msys64
cc: gcc (Rev6, Built by MSYS2 project) 12.2.0
sh: GNU bash, 버전 5.2.9(1)-release (x86_64-pc-msys)
os: Microsoft Windows [Version 10.0.19044.2251]
The text was updated successfully, but these errors were encountered: