Hi. 

I tried to build the firefox 48.0.2 under BLFS 7.10 (System V version) but the 
building process reported a Python Error message:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: 
ordinal not in range(128)

The environment variable "LANG " was set to en_US.utf8 and the "LC_CTYPE" was 
"en_US.utf8".

Does anyone have an idea to fix it?

Here is the full output log of the building process:

mkdir -p '/sources/firefox-48.0.2/firefox-build-dir/'
python2.7 /sources/firefox-48.0.2/config/pythonpath.py -I 
/sources/firefox-48.0.2/testing/mozbase/mozfile \
    /sources/firefox-48.0.2/python/mozbuild/mozbuild/controller/clobber.py 
/sources/firefox-48.0.2 /sources/firefox-48.0.2/firefox-build-dir
Clobber not needed.
> /sources/firefox-48.0.2/firefox-build-dir/.mozconfig.mk
make -f /sources/firefox-48.0.2/client.mk realbuild CREATE_MOZCONFIG_JSON=
make[1]: Entering directory '/sources/firefox-48.0.2'
Adding client.mk options from /sources/firefox-48.0.2/mozconfig:
    MOZ_OBJDIR=/sources/firefox-48.0.2/firefox-build-dir
    OBJDIR=/sources/firefox-48.0.2/firefox-build-dir
    FOUND_MOZCONFIG=/sources/firefox-48.0.2/mozconfig
make[2]: Entering directory '/sources/firefox-48.0.2'
cp /sources/firefox-48.0.2/mozconfig 
/sources/firefox-48.0.2/firefox-build-dir/.mozconfig
cd /sources/firefox-48.0.2/firefox-build-dir
/sources/firefox-48.0.2/configure
Creating Python environment
New python executable in 
/sources/firefox-48.0.2/firefox-build-dir/_virtualenv/bin/python2.7
Also creating executable in 
/sources/firefox-48.0.2/firefox-build-dir/_virtualenv/bin/python
Installing setuptools, pip, wheel...done.
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/psutil
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSUTIL_VERSION=311 -I/usr/include/python2.7 -c 
psutil/_psutil_linux.c -o build/temp.linux-i686-2.7/psutil/_psutil_linux.o
Traceback (most recent call last):
  File "/sources/firefox-48.0.2/configure.py", line 94, in <module>
    sys.exit(main(sys.argv))
  File "/sources/firefox-48.0.2/configure.py", line 22, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
214, in run
    self.include_file(path)
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
205, in include_file
    exec_(code, self)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/util.py", line 58, in 
exec_
    exec(object, globals, locals)
  File "/sources/firefox-48.0.2/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
459, in include_impl
    self.include_file(what)
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
205, in include_file
    exec_(code, self)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/util.py", line 58, in 
exec_
    exec(object, globals, locals)
  File "/sources/firefox-48.0.2/build/moz.configure/init.configure", line 171, 
in <module>
    @imports('distutils.sysconfig')
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
440, in decorator
    self._value_for(dummy)
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
285, in _value_for
    return self._value_for_depends(obj)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/util.py", line 919, in 
method_call
    cache[args] = self.func(instance, *args)
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
312, in _value_for_depends
    return func(*resolved_args)
  File 
"/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/__init__.py", line 
749, in wrapped
    return new_func(*args, **kwargs)
  File "/sources/firefox-48.0.2/build/moz.configure/init.configure", line 218, 
in virtualenv_python
    manager.build(python)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/virtualenv.py", line 
444, in build
    result = self._log_process_output(args, cwd=self.topsrcdir)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/virtualenv.py", line 
174, in _log_process_output
    self.log_handle.write(line)
  File "/sources/firefox-48.0.2/python/mozbuild/mozbuild/configure/util.py", 
line 199, in write
    if not buf.endswith('\n'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: 
ordinal not in range(128)
*** Fix above errors and then restart with\
               "make -f client.mk build"
make[2]: *** [/sources/firefox-48.0.2/client.mk:374: configure] Error 1
make[2]: Leaving directory '/sources/firefox-48.0.2'
make[1]: *** [/sources/firefox-48.0.2/client.mk:387: 
/sources/firefox-48.0.2/firefox-build-dir/Makefile] Error 2
make[1]: Leaving directory '/sources/firefox-48.0.2'
make: *** [client.mk:168: build] Error 2

 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to