Introduced in 452a1133ddadfb0750e930843d0e284185fca17c Since adding the "watch=True" to exec_build_env_command, devtool add is now throwing a UnicodeDecodeError for all remote sources which cause fetcher to use wget (tarballs, binary packages, etc). The exception is thrown here: devtool/__init__.py: 73 out = out.decode('utf-8') devtool is outputting characters like these [â]: HTTP request sent, awaiting response... 200 OK Length: 164035 (160K) [application/x-bzip2] Saving to: â/poky_sdk/downloads/xclock-1.0.7.tar.bz2â I believe that these âs are UTF-8 quotes (U+2018 and 2019) that are unable to display properly. My terminal is setup to display UTF-8 properly, and does so if I run wget directly. I've reproduced this on multiple machines, including one Debian VM with a very minimal setup, by simply running: devtool add http://ftp.x.org/pub/individual/app/xclock-1.0.7.tar.bz2 exec_build_env_command sources oe-init-build-env and then runs (in this case a call to recipetool) through the script command so that bitbake will think it is outputting to a terminal. Something may be getting lost here.
A fix was submitted for this from iajie.hu@intel.com.
That should be jiajie.hu@intel.com
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bfd8c35c3f917e3806c8dfe36c98c70fbccbb3c9
this issue is not present in commit dbb247cac5fbf7b037e4955f9793828451723924, verified