问题描述
- chromium nacl编译出错
-
FAILED: Command '........outDebuggensdkwin_x86pnacl_newlibbinpnacl-ar
@c:usersadmini~1.??appdatalocaltemptmpz8nl6n' returned non-zero exit stat
us 1
[4/14478] ACTION nacl_lib_newlib: buil... plib_3ee1b6ebff4793d51aee0961182f8cb2
FAILED: D:chromium_bad_scmdepot_toolse6pczvdepot_toolspython276_binpython.
exe gyp-win-tool action-wrapper environment.x86 nacl_lib_newlib_target_build_new
lib_plib_3ee1b6ebff4793d51aee0961182f8cb2..rsp ....native_clientsrcuntrusted
nacl
Traceback (most recent call last):
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirloader
.py", line 30, in
ret = driver_tools.DriverMain(module, argv)
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirdriver_
tools.py", line 757, in DriverMain
return module.main(argv)
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirpnacl-a
r.py", line 22, in main
driver_tools.ParseArgs(argv, PATTERNS)
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirdriver_
tools.py", line 336, in ParseArgs
driver_args, argv = ParseArgsBase(argv, driver_patternlist)
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirdriver_
tools.py", line 360, in ParseArgsBase
if ShouldExpandCommandFile(argv[i]):
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirdriver_
tools.py", line 300, in ShouldExpandCommandFile
return pathtools.isfile(possible_file)
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirpathtoo
ls.py", line 99, in isfile
return os.path.isfile(tosys(npath))
File "D:chromiumsrcoutDebuggensdkwin_x86pnacl_newlibbinpydirpathtoo
ls.py", line 65, in tosys
npath = os.path.abspath(unicode(npath))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 18: ordinal
not in range(128)
........outDebuggensdkwin_x86pnacl_newlibbinpnacl-ar @c:usersadmini
~1.??appdatalocaltemptmpls8dvj
FAILED: Command '........outDebuggensdkwin_x86pnacl_newlibbinpnacl-ar
@c:usersadmini~1.??appdatalocaltemptmpls8dvj' returned non-zero exit stat
us 1
ninja: build stopped: subcommand failed.
解决方案
npath = os.path.abspath(unicode(npath))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 18: ordinal
not in range(128)
字符集看上去有问题,路径等
时间: 2024-12-30 10:53:35