Gentoo Archives: gentoo-user

From: cal <cal@×××××××××.technology>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Thunderbird build failure ..
Date: Sun, 01 Jan 2023 20:08:36
Message-Id: f6bd0d40-74f9-2d9a-caf4-b4f49932d0be@mail.meme.technology
In Reply to: Re: [gentoo-user] Thunderbird build failure .. by Wols Lists
1 On 1/1/23 11:14, Wols Lists wrote:
2 > On 01/01/2023 18:33, cal wrote:
3 >> On 1/1/23 03:07, Wols Lists wrote:
4 >>> I got the following build failure in my weekly emerge yesterday ...
5 >>>
6 >>> * Messages for package mail-client/thunderbird-102.6.0:
7 >>>
8 >>>   * ERROR: mail-client/thunderbird-102.6.0::gentoo failed (compile
9 >>> phase):
10 >>>   *   (no error message)
11 >>>   *
12 >>>   * Call stack:
13 >>>   *     ebuild.sh, line 136:  Called src_compile
14 >>>   *   environment, line 4782:  Called die
15 >>>   * The specific snippet of code:
16 >>>   *       ${virtx_cmd} ./mach build --verbose || die
17 >>>   *
18 >>>   * If you need support, post the output of `emerge --info
19 >>> '=mail-client/thunderbird-102.6.0::gentoo'`,
20 >>>   * the complete build log and the output of `emerge -pqv
21 >>> '=mail-client/thunderbird-102.6.0::gentoo'`.
22 >>>   * The complete build log is located at
23 >>> '/var/tmp/portage/mail-client/thunderbird-102.6.0/temp/build.log'.
24 >>>   * The ebuild environment file is located at
25 >>> '/var/tmp/portage/mail-client/thunderbird-102.6.0/temp/environment'.
26 >>>   * Working directory:
27 >>> '/var/tmp/portage/mail-client/thunderbird-102.6.0/work/thunderbird-102.6.0'
28 >>>   * S:
29 >>> '/var/tmp/portage/mail-client/thunderbird-102.6.0/work/thunderbird-102.6.0'
30 >
31 >> Can you post the outputs referenced above/the full build log and your
32 >> portage configuration?
33 >
34 > Files attached - not sure it's everything you want, but I'm sure you'll
35 > let me know if I've messed up ... :-)
36 If you scroll up a bit in build.log, you can see that clang has crashed:
37
38 [...]
39 836:17.68 clang-15: error: clang frontend command failed with exit code
40 139 (use -v to see invocation)
41 836:17.68 clang version 15.0.6
42 836:17.68 Target: x86_64-pc-linux-gnu
43 836:17.69 Thread model: posix
44 836:17.69 InstalledDir: /usr/lib/llvm/15/bin
45 836:17.69 Configuration file: /etc/clang/clang++.cfg
46 836:18.07 clang-15: note: diagnostic msg:
47 836:18.07 ********************
48 836:18.07 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
49 836:18.07 Preprocessed source(s) and associated run script(s) are
50 located at:
51 836:18.07 clang-15: note: diagnostic msg:
52 /var/tmp/portage/mail-client/thunderbird-102.6.0/temp/Unified_cpp_dom_media_webaudio1-f85814.cpp
53 836:18.07 clang-15: note: diagnostic msg:
54 /var/tmp/portage/mail-client/thunderbird-102.6.0/temp/Unified_cpp_dom_media_webaudio1-f85814.sh
55 836:18.07 clang-15: note: diagnostic msg:
56 836:18.07 ********************
57
58 If you search for "clang frontend command failed with exit code 139" it
59 turns up a few GitHub issues which may or may not be related; you may
60 wish to follow up with upstream on that.
61
62 FWIW, Thunderbird builds fine with GCC on my machine -- I'm unsure of
63 your reasons for setting your Portage compiler to clang, but you may
64 wish to use a package.env override to build Thunderbird with GCC as a
65 workaround until the problem can be fixed upstream.
66
67 >>>
68 >>> I'm wondering whether this will simply clear itself next week, seeing as
69 >>> last week I got a very similar failure for both thunderbird and firefox.
70 >>>
71 >>> Could it simply be a bit of the fallout from app-alternatives? Of
72 >>> course, it's blocking my depclean ...
73 >> Having followed this list for quite a while, my first guess whenever
74 >> someone fails to compile a web browser or similar heavy piece of
75 >> software (I'm counting Thunderbird here) is that they ran out of memory.
76 >>   I would double check your MAKEOPTS and RAM size and try building with a
77 >> smaller -j.  But as noted above, perhaps if you attach the full build
78 >> log for Thunderbird, a more obvious cause will appear in the output.
79 >>>
80 >
81 > thewolery /usr/local # df
82 > Filesystem                       1K-blocks       Used Available Use%
83 > Mounted on
84 > none                              16404256       3328  16400928   1% /run
85 > udev                                 10240          0     10240   0% /dev
86 > tmpfs                             16404256          0  16404256   0%
87 > /dev/shm
88 > /dev/dm-1                        131001348  101620580  22653500  82% /
89 > tmpfs                             16404260          4  16404256   1% /tmp
90 > /dev/mapper/vg--home-lv--data   2064042928 1472050236 487118712  76% /home
91 > tmpfs                              3280848         56   3280792   1%
92 > /run/user/1000
93 > /dev/mapper/vg--home-lv--Videos  772966856  276285468 457343404  38%
94 > /home/Videos
95 > /dev/mapper/vg--home-lv--ISO     153707984   88546712  57280568  61%
96 > /home/ISO
97 > thewolery /usr/local #
98 >
99 > There's 28GB free disk space, surely that's enough? And iirc this
100 > machine has 32GB ram. Or do I need to do a bit of a clean-out - I appear
101 > to have used some 100GB for root which seems rather a lot ...
102 >
103 > Cheers,
104 > Wol

Replies

Subject Author
Re: [gentoo-user] Thunderbird build failure .. Wol <antlists@××××××××××××.uk>