public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Firefox and Thunderbird compile issue
@ 2018-11-18  7:35 Daniel Frey
  2018-11-18 10:47 ` Alarig Le Lay
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Frey @ 2018-11-18  7:35 UTC (permalink / raw
  To: gentoo-user

It looks like sometime in the last few days Firefox and Thunderbird
versions were bumped.

I've unfortunately got a problem (oddly enough, the same or very similar
problems) with both:

 1:09.75 In file included from
/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/ff/media/libav/Unified_c_media_libav0.c:29:0:
Exception in thread ProcessReader:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
line 1028, in _read
    callback(line.rstrip())
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
line 944, in __call__
    e(*args, **kwargs)
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/python/mach/mach/mixin/process.py",
line 86, in handleLine
    line_handler(line)
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/python/mozbuild/mozbuild/controller/building.py",
line 672, in on_line
    self.log(logging.INFO, 'build_output', {'line': line}, '{line}')
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/python/mach/mach/mixin/logging.py",
line 54, in log
    extra={'action': action, 'params': params})
  File "/usr/lib64/python2.7/logging/__init__.py", line 1238, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1293, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1303, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1343, in
callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 766, in handle
    self.emit(record)
  File
"/var/tmp/portage/www-client/firefox-60.3.0-r1/work/firefox-60.3.0/python/mozbuild/mozbuild/controller/building.py",
line 555, in emit
    self.fh.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position
146-148: ordinal not in range(128)


Has anyone run into this?

I checked my locale, it's set correctly as utf8. This machine has also
been kept up to date (it's not the same machine that I posted about a
python issue earlier.)

I don't know if Thunderbird is stopping at exactly the same place, but
it was the same "ordinal not in range" error.

Dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Firefox and Thunderbird compile issue
  2018-11-18  7:35 [gentoo-user] Firefox and Thunderbird compile issue Daniel Frey
@ 2018-11-18 10:47 ` Alarig Le Lay
  2018-11-18 17:52   ` Daniel Frey
  0 siblings, 1 reply; 9+ messages in thread
From: Alarig Le Lay @ 2018-11-18 10:47 UTC (permalink / raw
  To: gentoo-user

Hi Daniel,

Didi you tried to remove the temporary directory (inside /var/tmp) and
re-emerge id again? It looks like an incorrectly decompressed archive.

-- 
Alarig


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Firefox and Thunderbird compile issue
  2018-11-18 10:47 ` Alarig Le Lay
@ 2018-11-18 17:52   ` Daniel Frey
  2018-11-18 18:19     ` [gentoo-user] " Nuno Silva
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Frey @ 2018-11-18 17:52 UTC (permalink / raw
  To: gentoo-user

On 11/18/18 02:47, Alarig Le Lay wrote:
> Hi Daniel,
> 
> Didi you tried to remove the temporary directory (inside /var/tmp) and
> re-emerge id again? It looks like an incorrectly decompressed archive.
> 

I just tried this, to no avail.

I'm trying to rebuild the installed packages I have under dev-python/*
but I'm not sure it will help.

Dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-18 17:52   ` Daniel Frey
@ 2018-11-18 18:19     ` Nuno Silva
  2018-11-18 19:01       ` Daniel Frey
  0 siblings, 1 reply; 9+ messages in thread
From: Nuno Silva @ 2018-11-18 18:19 UTC (permalink / raw
  To: gentoo-user

On 2018-11-18, Daniel Frey wrote:

> On 11/18/18 02:47, Alarig Le Lay wrote:
>> Hi Daniel,
>> 
>> Didi you tried to remove the temporary directory (inside /var/tmp) and
>> re-emerge id again? It looks like an incorrectly decompressed archive.
>> 
>
> I just tried this, to no avail.
>
> I'm trying to rebuild the installed packages I have under dev-python/*
> but I'm not sure it will help.

Do you, by any chance, have distcc enabled?:

https://bugs.gentoo.org/show_bug.cgi?id=646062
https://forums.gentoo.org/viewtopic-p-8275494.html

-- 
Nuno Silva



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-18 18:19     ` [gentoo-user] " Nuno Silva
@ 2018-11-18 19:01       ` Daniel Frey
  2018-11-20 17:46         ` Nuno Silva
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Frey @ 2018-11-18 19:01 UTC (permalink / raw
  To: gentoo-user

On 11/18/18 10:19, (Nuno Silva) wrote:
> On 2018-11-18, Daniel Frey wrote:
> 
>> On 11/18/18 02:47, Alarig Le Lay wrote:
>>> Hi Daniel,
>>>
>>> Didi you tried to remove the temporary directory (inside /var/tmp) and
>>> re-emerge id again? It looks like an incorrectly decompressed archive.
>>>
>>
>> I just tried this, to no avail.
>>
>> I'm trying to rebuild the installed packages I have under dev-python/*
>> but I'm not sure it will help.
> 
> Do you, by any chance, have distcc enabled?:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=646062
> https://forums.gentoo.org/viewtopic-p-8275494.html
> 

Aw nuts.

I searched 'distcc firefox' and came across my own thread earlier this year.

I never updated package.env on my backup laptop so it popped up again,
and I completely forgot.

It's really unfortunate that on massive builds distcc is not an option.
Maybe I should consider -bin instead.

Dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-18 19:01       ` Daniel Frey
@ 2018-11-20 17:46         ` Nuno Silva
  2018-11-24  8:29           ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Nuno Silva @ 2018-11-20 17:46 UTC (permalink / raw
  To: gentoo-user

On 2018-11-18, Daniel Frey wrote:
[...]
> It's really unfortunate that on massive builds distcc is not an option.
> Maybe I should consider -bin instead.

If you do happen to have a more powerful machine running Gentoo on a
compatible architecture[1], you could also try Gentoo binary packages
(that is, not -bin, but binary packages made from www-client/firefox and
mail-client/thunderbird on that machine, either automatically with
FEATURES=buildpkg, or manually using quickpkg or emerge --buildpkg).

[1] I guess it should also be possible to cross-compile, but that will
require additional steps, with which I am not acquainted.

Do you know Seamonkey? If you like it and it works for everything you
use Firefox and Thunderbird with, another idea to consider would be
replacing Firefox and Thunderbird with Seamonkey Navigator and Seamonkey
Mail&News.  That way, it would be "just" one massive build instead of
two.

-- 
Nuno Silva



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-20 17:46         ` Nuno Silva
@ 2018-11-24  8:29           ` Dale
  2018-11-24  8:58             ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2018-11-24  8:29 UTC (permalink / raw
  To: gentoo-user

(Nuno Silva) wrote:
> On 2018-11-18, Daniel Frey wrote:
> [...]
>> It's really unfortunate that on massive builds distcc is not an option.
>> Maybe I should consider -bin instead.
> If you do happen to have a more powerful machine running Gentoo on a
> compatible architecture[1], you could also try Gentoo binary packages
> (that is, not -bin, but binary packages made from www-client/firefox and
> mail-client/thunderbird on that machine, either automatically with
> FEATURES=buildpkg, or manually using quickpkg or emerge --buildpkg).
>
> [1] I guess it should also be possible to cross-compile, but that will
> require additional steps, with which I am not acquainted.
>
> Do you know Seamonkey? If you like it and it works for everything you
> use Firefox and Thunderbird with, another idea to consider would be
> replacing Firefox and Thunderbird with Seamonkey Navigator and Seamonkey
> Mail&News.  That way, it would be "just" one massive build instead of
> two.
>

I looked at the build times of both Firefox and Seamonkey, they both
average out to about the same.  For me here, about 1.5 hours.  Of
course, it varies a bit but that's a rough average.  While genlop -t
shows compile times, it doesn't average them out.  It's just rough in my
head quick math.  ;-)  I agree that Seamonkey may be a good option for
Daniel.

I use Seamonkey for my email and some web browsing.  While the new
Firefox has some advantages in some areas, Seamonkey does work well.  I
have both installed here. 

Dale

:-)  :-) 

P. S.  For those who keep up with my slow upgrades.  I just ordered a
FX-8350 CPU and 32GBs of ram.  The new Firefox with Content Process set
to 4 would use all my memory and cause my system to crash, reboot
actually.  I had to go back to one.  With the new 32GBs of ram, I hope
to be able to set it to 2, 3 or maybe 4.  For what I do, I think 2 would
be enough.  They should be here in a few days.  Sort of dread putting
the CPU in.  Always concerned something could go sideways.  :/  Old
parts will go on a older mobo I have.  It may turn into a server for all
those hard drives I need to have.  lol 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-24  8:29           ` Dale
@ 2018-11-24  8:58             ` Neil Bothwick
  2018-11-24  9:13               ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2018-11-24  8:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

On Sat, 24 Nov 2018 02:29:10 -0600, Dale wrote:

> I looked at the build times of both Firefox and Seamonkey, they both
> average out to about the same.  For me here, about 1.5 hours.  Of
> course, it varies a bit but that's a rough average.  While genlop -t
> shows compile times, it doesn't average them out.  It's just rough in my
> head quick math.  ;-) 

Try genlop -i or qlop -t


-- 
Neil Bothwick

Walking on water and writing software to specification is easy if they're frozen.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Firefox and Thunderbird compile issue
  2018-11-24  8:58             ` Neil Bothwick
@ 2018-11-24  9:13               ` Dale
  0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2018-11-24  9:13 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Sat, 24 Nov 2018 02:29:10 -0600, Dale wrote:
>
>> I looked at the build times of both Firefox and Seamonkey, they both
>> average out to about the same.  For me here, about 1.5 hours.  Of
>> course, it varies a bit but that's a rough average.  While genlop -t
>> shows compile times, it doesn't average them out.  It's just rough in my
>> head quick math.  ;-) 
> Try genlop -i or qlop -t
>
>


I need to read the man pages every once in a while.  I don't recall
seeing that there last I looked.  Still, it also includes when I install
from a pre-built binary which takes only a few seconds or a minute or
so.  That throws off the average a bit.  Sometimes a upgrade goes a
little sideways.  When doing it in my head, I ignore those.  Still
interesting to know about the -i option tho. 

Going by the output of the -i tho, Seamonkey only takes a little longer
than Firefox.  Of course, I've had to go back to a pre-built binary a
couple times with Firefox recently.  Accounting for that, I suspect they
are roughly the same. 

Thanks for sharing the -i info.  Interesting.

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-24  9:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-18  7:35 [gentoo-user] Firefox and Thunderbird compile issue Daniel Frey
2018-11-18 10:47 ` Alarig Le Lay
2018-11-18 17:52   ` Daniel Frey
2018-11-18 18:19     ` [gentoo-user] " Nuno Silva
2018-11-18 19:01       ` Daniel Frey
2018-11-20 17:46         ` Nuno Silva
2018-11-24  8:29           ` Dale
2018-11-24  8:58             ` Neil Bothwick
2018-11-24  9:13               ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox