lede icon indicating copy to clipboard operation
lede copied to clipboard

最新版本编译报错UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 17: invalid continuation byte:

Open linxuankent opened this issue 6 years ago • 1 comments

manbuild = False (default True): build help in man and HTML formats nostrip = True (default False): don't symbol-strip binaries at link time python = False (default True): build Python support and modules. prefix = /usr (default /usr/local): installation directory prefix target = x86_64-openwrt-linux-musl (default ): cross-development target UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 17: invalid continuation byte: File "/home/linxuan/桌面/ceshi/lede/build_dir/target-x86_64_musl/gpsd-3.20/SConstruct", line 1480: source=[env.StaticObject(s, parse_flags=usbflags + bluezflags) File "/home/linxuan/桌面/ceshi/lede/build_dir/target-x86_64_musl/gpsd-3.20/SConstruct", line 1480: source=[env.StaticObject(s, parse_flags=usbflags + bluezflags) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 255: return MethodWrapper.call(self, target, source, *args, **kw) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 219: return self.method(*nargs, **kwargs) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Builder.py", line 650: env = env.Override(env_kw) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 631: if merges: env.MergeFlags(merges) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 819: args = self.ParseFlags(args) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 805: do_parse(arg) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 666: for t in arg: do_parse(t) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 671: arg = self.backtick(arg[1:]) File "/home/linxuan/桌面/ceshi/lede/staging_dir/hostpkg/lib/scons/SCons/Environment.py", line 584: out,err = p.communicate() File "/usr/lib/python3.8/subprocess.py", line 1024: stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib/python3.8/subprocess.py", line 1904: stdout = self._translate_newlines(stdout, File "/usr/lib/python3.8/subprocess.py", line 901: data = data.decode(encoding, errors) make[3]: *** [Makefile:148: /home/linxuan/桌面/ceshi/lede/build_dir/target-x86_64_musl/gpsd-3.20/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 2 make[3]: Leaving directory '/home/linxuan/桌面/ceshi/lede/feeds/packages/utils/gpsd' time: package/feeds/packages/gpsd/compile#1.56#0.64#2.01 make[2]: *** [package/Makefile:113: package/feeds/packages/gpsd/compile] Error 2 make[2]: Leaving directory '/home/linxuan/桌面/ceshi/lede' make[1]: *** [package/Makefile:107: /home/linxuan/桌面/ceshi/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/linxuan/桌面/ceshi/lede' make: *** [/home/linxuan/桌面/ceshi/lede/include/toplevel.mk:224:world] 错误 2 linxuan@linxuan:~/桌面/ceshi/lede$

linxuankent avatar Jul 15 '20 13:07 linxuankent

我也遇到了一样的问题,请问是怎么解决的

Ljzd-PRO avatar Feb 23 '23 05:02 Ljzd-PRO