Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Building firefox-61 with distcc
Date: Thu, 02 Aug 2018 20:14:39
Message-Id: 9168adbe-e213-a78f-7c9b-ba9f7a861761@gmail.com
1 Well, I discovered some of my plugins stopped working on Firefox because
2 they've been updated to the new plugin format.
3
4 I've been using distcc for a long time now, and I've tried to build
5 firefox and it fails with:
6
7 --------------
8 Traceback (most recent call last):
9 File "/usr/lib64/python2.7/threading.py", line 801, in __bootstrap_inner
10 self.run()
11 File "/usr/lib64/python2.7/threading.py", line 754, in run
12 self.__target(*self.__args, **self.__kwargs)
13 File
14 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
15 line 1028, in _read
16 callback(line.rstrip())
17 File
18 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
19 line 944, in __call__
20 e(*args, **kwargs)
21 File
22 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mach/mach/mixin/process.py",
23 line 86, in handleLine
24 line_handler(line)
25 File
26 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mozbuild/mozbuild/controller/building.py",
27 line 681, in on_line
28 self.log(logging.INFO, 'build_output', {'line': message}, '{line}')
29 File
30 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mach/mach/mixin/logging.py",
31 line 54, in log
32 extra={'action': action, 'params': params})
33 File "/usr/lib64/python2.7/logging/__init__.py", line 1231, in log
34 self._log(level, msg, args, **kwargs)
35 File "/usr/lib64/python2.7/logging/__init__.py", line 1286, in _log
36 self.handle(record)
37 File "/usr/lib64/python2.7/logging/__init__.py", line 1296, in handle
38 self.callHandlers(record)
39 File "/usr/lib64/python2.7/logging/__init__.py", line 1336, in
40 callHandlers
41 hdlr.handle(record)
42 File "/usr/lib64/python2.7/logging/__init__.py", line 759, in handle
43 self.emit(record)
44 File
45 "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mozbuild/mozbuild/controller/building.py",
46 line 564, in emit
47 self.fh.write(msg)
48 UnicodeEncodeError: 'ascii' codec can't encode characters in position
49 138-140: ordinal not in range(128)
50
51 ----------
52
53 What I'm trying to figure out is if this is due to the recent python
54 changes or if it really is a distcc problem as per:
55
56 https://bugs.gentoo.org/662516
57
58 (I just noticed they tagged it wontfix. :( )
59
60 Has anyone found a solution for this other than disabling distcc
61 altogether? I'm going to try that now and see if it compiles.
62
63 If it does turn out to be distcc is there a method to disable distcc
64 just for the firefox package? The distcc article @ gentoo wiki doesn't
65 mention anything.
66
67 Dan

Replies

Subject Author
Re: [gentoo-user] Building firefox-61 with distcc Branko Grubic <bitlord0xff@×××××.com>