Build error with C locale 4.14rc2
OHKAWA Yuichi
kuri at ei.tohoku.ac.jp
Wed Feb 10 04:06:19 UTC 2021
Hi,
When I tried to build 4.14rc2 with LC_ALL=C locale, a build error have occurred.
If I used LC_ALL=en_us.utf8, I had no error.
I guessed that because python3.6 under C locale cannot treat a latin character ö of source4/heimdal/lib/asn1/lex.l.
---- error message ----
[368/418] Compiling source4/heimdal/lib/asn1/lex.l
Waf: Leaving directory `/builddir/build/BUILD/samba-4.14.0rc2/bin/default'
Build failed
Traceback (most recent call last):
File "/builddir/build/BUILD/samba-4.14.0rc2/third_party/waf/waflib/Task.py", line 350, in process
ret = self.run()
File "./buildtools/wafsamba/samba_waf18.py", line 30, in flexfun
tsk.outputs[0].write(txt.replace('\r\n', '\n').replace('\r', '\n')) # issue #1207
File "/builddir/build/BUILD/samba-4.14.0rc2/third_party/waf/waflib/Node.py", line 201, in write
Utils.writef(self.abspath(), data, flags, encoding)
File "/builddir/build/BUILD/samba-4.14.0rc2/third_party/waf/waflib/Utils.py", line 268, in writef
data = data.encode(encoding)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 33323-33324: ordinal not in range(256)
---
--
OHKAWA Yuichi
More information about the samba-technical
mailing list