On 19/11/2017 17:53, Bruce Dubbs wrote:
Roger Koehler wrote:
I rebuilt LFS with the latest development release (Linux 4.14) using
jhalfs with LANG=en_US.UTF-8 thinking that it would solve my glib2
problem, but I am getting the same build failure:
FAILED: gio/tests/giotypefuncs.inc
/usr/bin/env python3
/sources/glib2/glib-2.54.2/gio/tests/gengiotypefuncs.py
gio/tests/giotypefuncs.inc ../gio/gappinfo.h *** lots of .h files ***
Traceback (most recent call last):
File "/sources/glib2/glib-2.54.2/gio/tests/gengiotypefuncs.py", line
23, in <module>
for line in f:
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
2625:
ordinal not in range(128)
How is "This package is known to build and work properly using an
LFS-8.1
platform."?
In the development book we do not remove that statement. It is
convenient when we do our testing for the next release.
Since you rebuilt LFS, glib should have built. It did work for me
when I started to rebuild everything from the Nov 6 SVN version of
LFS. Looking at my log, glib was number 42 after LFS. It's possible
that there is a missing dependency.
From your error message above, it appears that there is a spurious
non-ascii character in a file, but I can't determine which file.
Perhaps it is one of the .h files you omitted. Can to track that down?
Try using: export GIO_GENTYPEFUNCS_DEBUG="true"
I've had this issue when LANG is not set to an UTF-8 locale. Almost all
the .h files mentioned in the "/usr/bin/env python3
/sources/glib2/glib-2.54.2/gio/tests/gengiotypefuncs.py
gio/tests/giotypefuncs.inc ../gio/gappinfo.h *** lots of .h files ***"
command
have a character outside the ASCII range, because one of the authors has
a foreign (not English) name.
Actually, we used to tell when an UTF-8 locale was required for a
package in previous versions. We do not anymore because, asĸenpointed
out, UTF-8 is now the norm. That's why jhalfs needs to be changed (which
I've just done).
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page