Welcome to CRUX bug tracking.

FS#1855 - thunderbird build issues

Attached to Project: CRUX
Opened by Alexander Matviychuk (alexmat) - Saturday, 06 March 2021, 11:57 GMT
Last edited by Tim Biermann (tb) - Thursday, 29 April 2021, 13:07 GMT
Task Type Bug Report
Category ports
Status Closed
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I'm having two issues building thunderbird:

1) sccache is an optional build dependency, but if it's not installed the build fails.

2) I get the following issue related to elfhack after successfully building thunderbird, any suggestions are appreciated:

3:40.98 Your build was successful!
To take your build for a test drive, run: |mach run|
+ DESTDIR=/tmp/pkgmk-thunderbird/pkg
+ ./mach install
0:00.29 /usr/bin/make -C . -j8 -s -w install
0:00.30 make: Entering directory '/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/obj-x86_64-pc-linux-gnu'
0:00.30 make[1]: Entering directory '/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/obj-x86_64-pc-linux-gnu/comm/mail/installer'
0:00.34 /tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozbuild/action/ DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
0:00.34 import imp
0:02.93 ../../../dist/thunderbird/ Reduced by 8589096 bytes
0:02.94 ../../../dist/thunderbird/ Couldn't find .bss. Skipping
0:02.95 ../../../dist/thunderbird/gtk2/ Couldn't find .bss. Skipping
0:02.95 ../../../dist/thunderbird/ Couldn't find .bss. Skipping
0:02.97 ../../../dist/thunderbird/ Couldn't find .bss. Skipping
0:02.98 ../../../dist/thunderbird/ Reduced by 20272 bytes
0:03.00 ../../../dist/thunderbird/ terminate called after throwing an instance of 'std::runtime_error'
0:03.00 what(): Segments overlap
0:03.00 Traceback (most recent call last):
0:03.00 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/toolkit/mozapps/installer/", line 249, in <module>
0:03.00 main()
0:03.00 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/toolkit/mozapps/installer/", line 243, in main
0:03.00 copier.copy(args.destination)
0:03.00 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozpack/", line 424, in copy
0:03.00 copy_results.append((destfile, f.copy(destfile, skip_if_older)))
0:03.00 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozpack/", line 341, in copy
0:03.00 elfhack(dest)
0:03.01 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozpack/", line 125, in elfhack
0:03.01 errors.fatal('Error executing ' + ' '.join(cmd))
0:03.01 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozpack/", line 103, in fatal
0:03.01 self._handle(self.FATAL, msg)
0:03.01 File "/tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/python/mozbuild/mozpack/", line 98, in _handle
0:03.01 raise ErrorMessage(msg)
0:03.01 mozpack.errors.ErrorMessage: Error: Error executing /tmp/pkgmk-thunderbird/src/thunderbird-78.8.0/obj-x86_64-pc-linux-gnu/build/unix/elfhack/elfhack ../../../dist/thunderbird/
This task depends upon

Closed by  Tim Biermann (tb)
Thursday, 29 April 2021, 13:07 GMT
Reason for closing:  Fixed