linux-next: build failure after merge of the cgroup tree
Hi all,
After merging the cgroup tree, today's linux-next build (htmldocs) failed like this:
Sphinx parallel build error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 558: invalid start byte
Caused by commit
704f684e15ad ("cgroup: Add Michal Koutný as a maintainer")
I tracked this down using
git diff stable.. | cat -v | grep -F 'M-}'
and finding the commit that added the line that was output. I tested it by building with the commit temporarily reverted. I have left that commit in today's linux-next.
Clearly (I think) there is nothing wrong with the commit, but the Sphinx utf-8 decoder also clearly does not think it is valid UTF-8 :-(
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 13 lines · On Fri, 12 Jul 2024 16:43:54 +1000 Stephen Rothwell <[email protected]>…
After merging the cgroup tree, today's linux-next build (htmldocs) failed like this:
Sphinx parallel build error:
UnicodeDecodeError: 'utf-8' codec can't decode byte0xfdin position 558: invalid start byteCaused by commit
704f684e15ad("cgroup: Add Michal Koutný as a maintainer")I tracked this down using
Quoted 8 lines
git diff stable.. | cat -v | grep -F 'M-}'
and finding the commit that added the line that was output. I tested it by building with the commit temporarily reverted. I have left that commit in today's linux-next.
Clearly (I think) there is nothing wrong with the commit, but the Sphinx utf-8 decoder also clearly does not think it is valid UTF-8 :-(
Actually my character map app says that it should be the two bytes 0xC3 0xBD in UTF-8 (it is 0x00FD in UTF-16).
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 22 lines · Stephen Rothwell
Hi all,
Quoted 19 lines · On Fri, 12 Jul 2024 16:43:54 +1000 Stephen Rothwell <[email protected]>…
After merging the cgroup tree, today's linux-next build (htmldocs) failed like this:
Sphinx parallel build error:
UnicodeDecodeError: 'utf-8' codec can't decode byte0xfdin position 558: invalid start byteCaused by commit
704f684e15ad("cgroup: Add Michal Koutný as a maintainer")I tracked this down using
git diff stable.. | cat -v | grep -F 'M-}'
and finding the commit that added the line that was output. I tested it by building with the commit temporarily reverted. I have left that commit in today's linux-next.
Quoted 5 lines
Quoted 2 lines
Clearly (I think) there is nothing wrong with the commit, but the Sphinx utf-8 decoder also clearly does not think it is valid UTF-8 :-(
Actually my character map app says that it should be the two bytes
0xC30xBDin UTF-8 (it is0x00FDin UTF-16).
As you observed, the patch is encoded in ISO-8859, not UTF8; that doesn't fit well in a file that uses UTF8. One could argue that Sphinx should be a bit more robust, but satisfactory results will not be had regardless.
An encoding check might be a useful thing to have in checkpatch.pl, methinks.
jon
Hello,
Quoted 10 lines · Jonathan Corbet
Quoted 2 lines
Actually my character map app says that it should be the two bytes
0xC30xBDin UTF-8 (it is0x00FDin UTF-16).As you observed, the patch is encoded in ISO-8859, not UTF8; that doesn't fit well in a file that uses UTF8. One could argue that Sphinx should be a bit more robust, but satisfactory results will not be had regardless.
An encoding check might be a useful thing to have in checkpatch.pl, methinks.
Local env is utf-8 but I saved the email from mutt and then applied it, so maybe that's why it became iso-8859? Anyways, I'll fix it up.
Thanks.
Signature · 1 line
tejun
Quoted 11 lines · Tejun Heo
Hello,
Quoted 8 lines · Jonathan Corbet
Quoted 2 lines
Actually my character map app says that it should be the two bytes
0xC30xBDin UTF-8 (it is0x00FDin UTF-16).As you observed, the patch is encoded in ISO-8859, not UTF8; that doesn't fit well in a file that uses UTF8. One could argue that Sphinx should be a bit more robust, but satisfactory results will not be had regardless.
Quoted 5 lines
Quoted 2 lines
An encoding check might be a useful thing to have in checkpatch.pl, methinks.
Local env is utf-8 but I saved the email from mutt and then applied it, so maybe that's why it became iso-8859? Anyways, I'll fix it up.
I redid the commit locally and am seeing C3 BD for both instances of ý.
Thanks.
Signature · 1 line
tejun