Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glibc upgrade and firefox/seamonkey issues
Date: Thu, 22 Oct 2015 09:52:31
Message-Id: 20151022095357.GA2645@acm.fritz.box
In Reply to: [gentoo-user] glibc upgrade and firefox/seamonkey issues by Dale
1 Hello, Dale.
2
3 On Wed, Oct 21, 2015 at 07:57:32PM -0500, Dale wrote:
4 > Howdy,
5
6 > I recently did a upgrade which included glibc. Now both Firefox and
7 > Seamonkey has problems starting. I have several profiles and some work
8 > and some don't. Using safe-mode works which makes me think the browsers
9 > themselves are OK but something else got messed up. The only package I
10 > see that I just updated is glibc that might could cause this issue.
11 > This is the recent emerge list from emerge.log:
12
13 > 1445463962: >>> emerge (1 of 13) sys-libs/glibc-2.21-r1 to /
14 > 1445464046: === (1 of 13) Cleaning (sys-libs/glibc-2.21-r1::/var/cache/portage/tree/sys-libs/glibc/glibc-2.21-r1.ebuild)
15 > 1445464046: === (1 of 13) Compiling/Packaging (sys-libs/glibc-2.21-r1::/var/cache/portage/tree/sys-libs/glibc/glibc-2.21-r1.ebuild)
16 > 1445464751: === (1 of 13) Merging (sys-libs/glibc-2.21-r1::/var/cache/portage/tree/sys-libs/glibc/glibc-2.21-r1.ebuild)
17 > 1445464759: >>> AUTOCLEAN: sys-libs/glibc:2.2
18 > 1445464759: === Unmerging... (sys-libs/glibc-2.20-r2)
19 > 1445464761: >>> unmerge success: sys-libs/glibc-2.20-r2
20 > 1445464768: === (1 of 13) Post-Build Cleaning (sys-libs/glibc-2.21-r1::/var/cache/portage/tree/sys-libs/glibc/glibc-2.21-r1.ebuild)
21 > 1445464768: ::: completed emerge (1 of 13) sys-libs/glibc-2.21-r1 to /
22
23 This is nothing to do with your problem, but it might be useful
24 nonetheless.
25
26 I finally got fed up with these "seconds since the epoch" time stamps a
27 couple of days ago, and wrote a little filter to turn them into readable
28 time stamps. Probably there is software around already which does this,
29 but the effort to write the script was less than that to search for the
30 existing software.
31
32 Here is that script:
33
34
35 #!/usr/bin/awk -f
36 #########################################################################
37 # log-emerge:
38 #
39 # A filter which converts the time stamp on emerge log files to a human
40 # readable form.
41 #
42 # Written by Alan Mackenzie <acm@×××.de>, 2015-10-20.
43 # This script is in the public domain.
44 #
45 # To use, pipe all or part of a log file through this filter.
46 #########################################################################
47 {
48 sec = strtonum(substr($1, 1, 11))
49 $1 = strftime("%Y-%m-%d %H:%M:%S %z", sec, 0) ":"
50 print
51 }
52
53
54 Don't forget to make it exectuable! It turns the first of these log
55 file lines into this:
56
57 2015-10-21 21:46:02 +0000: >>> emerge (1 of 13) sys-libs/glibc-2.21-r1 to /
58
59 If the timezone field is unwanted, just remove the " %z" from the middle
60 line of the script.
61
62 > Thanks much.
63
64 > Dale
65
66 > :-) :-)
67
68 --
69 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] glibc upgrade and firefox/seamonkey issues Neil Bothwick <neil@××××××××××.uk>