Article 6EETV problem compiling thunderbird in 11.3

problem compiling thunderbird in 11.3

by
Keith Hedger
from LinuxQuestions.org on (#6EETV)
I have been trying to compile thunderbird on 11.3 as here:
https://www.linuxfromscratch.org/blf...underbird.html

All dependencies are installed with no errors, this is my mozconfig file:Code:# If you have a multicore machine, the build may be faster if using parallel
# jobs. The build system automatically adds -jN to the "make" flags, where N
# is the number of CPU cores. The option below is therefore useless, unless
# you want to use a smaller number of jobs:
mk_add_options MOZ_MAKE_FLAGS="-j11"

# If you have installed wireless-tools comment out this line:
ac_add_options --disable-necko-wifi

# Uncomment these lines if you have installed optional dependencies:
#ac_add_options --enable-startup-notification

# Uncomment the following option if you have not installed PulseAudio
#ac_add_options --disable-pulseaudio
# and uncomment this if you installed alsa-lib instead of PulseAudio
#ac_add_options --enable-alsa

# If you want to compile the Mozilla Calendar, uncomment this line:
#ac_add_options --enable-calendar

# Comment out following options if you have not installed
# recommended dependencies:
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-icu

# The elf-hack causes failed installs on some machines.
# It is supposed to improve startup time and it shrinks libxul.so
# by a few MB - comment this if you know your machine is not affected.
#ac_add_options --disable-elf-hack

# The BLFS editors recommend not changing anything below this line:
ac_add_options --prefix=/usr
ac_add_options --enable-application=comm/mail

ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests

ac_add_options --enable-optimize=-O2
ac_add_options --enable-linker=gold
ac_add_options --enable-strip
ac_add_options --enable-install-strip

ac_add_options --enable-official-branding

ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman

ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --without-wasm-sandboxed-librariesNothing odd there that I can see, this is the error:Code: 0:36.58 js/src> checking whether malloc_usable_size definition can use const argument... no
0:36.61 js/src> checking for valloc in malloc.h... yes
0:36.64 js/src> checking for valloc in unistd.h... no
0:36.66 js/src> checking for _aligned_malloc in malloc.h... no
0:36.67 js/src> creating ./config.data
0:36.68 Creating config.status
0:37.60 Reticulating splines...
0:40.28 Error in sitecustomize; set PYTHONVERBOSE for traceback:
0:40.28 ModuleNotFoundError: No module named 'mach_bootstrap'
0:40.82 0:03.45 File already read. Skipping: /LFSSourceArchives/11.3/thunderbird-102.9.0/intl/components/moz.build
0:42.53 0:05.16 File already read. Skipping: /LFSSourceArchives/11.3/thunderbird-102.9.0/gfx/angle/targets/angle_common/moz.build
1:03.76 concurrent.futures.process._RemoteTraceback:
1:03.76 """
1:03.76 Traceback (most recent call last):
1:03.76 File "/usr/lib/python3.11/concurrent/futures/process.py", line 256, in _process_worker
1:03.76 r = call_item.fn(*call_item.args, **call_item.kwargs)
1:03.76 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 395, in load_gyp
1:03.76 _, flat_list, targets, data = gyp.Load(*args)
1:03.76 ^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/__init__.py", line 134, in Load
1:03.76 result = gyp.input.Load(build_files, default_variables, includes[:],
1:03.76 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 2788, in Load
1:03.76 LoadTargetBuildFile(build_file, data, aux_data,
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 426, in LoadTargetBuildFile
1:03.76 ProcessVariablesAndConditionsInDict(
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 1224, in ProcessVariablesAndConditionsInDict
1:03.76 ProcessVariablesAndConditionsInDict(the_dict['variables'], phase,
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 1224, in ProcessVariablesAndConditionsInDict
1:03.76 ProcessVariablesAndConditionsInDict(the_dict['variables'], phase,
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 1224, in ProcessVariablesAndConditionsInDict
1:03.76 ProcessVariablesAndConditionsInDict(the_dict['variables'], phase,
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 1232, in ProcessVariablesAndConditionsInDict
1:03.76 expanded = ExpandVariables(value, phase, variables, build_file)
1:03.76 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/third_party/python/gyp/pylib/gyp/input.py", line 928, in ExpandVariables
1:03.76 raise GypError("Call to '%s' returned exit status %d while in %s." %
1:03.76 gyp.common.GypError: Call to '"/LFSSourceArchives/11.3/thunderbird-102.9.0/obj-x86_64-pc-linux-gnu/_virtualenvs/build/bin/python" ./coreconf/detect_host_arch.py' returned exit status 0 while in /LFSSourceArchives/11.3/thunderbird-102.9.0/security/nss/nss.gyp. while trying to load /LFSSourceArchives/11.3/thunderbird-102.9.0/security/nss/nss.gyp
1:03.76 """
1:03.76
1:03.76 The above exception was the direct cause of the following exception:
1:03.76
1:03.76 Traceback (most recent call last):
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/configure.py", line 349, in <module>
1:03.76 sys.exit(main(sys.argv))
1:03.76 ^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/configure.py", line 161, in main
1:03.76 return config_status(config)
1:03.76 ^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/configure.py", line 300, in config_status
1:03.76 return config_status(args=[], **sanitized_config)
1:03.76 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/python/mozbuild/mozbuild/config_status.py", line 162, in config_status
1:03.76 definitions = list(definitions)
1:03.76 ^^^^^^^^^^^^^^^^^
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/python/mozbuild/mozbuild/frontend/emitter.py", line 150, in emit
1:03.76 for out in output:
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/python/mozbuild/mozbuild/frontend/reader.py", line 928, in read_topsrcdir
1:03.76 for gyp_context in g.results:
1:03.76 File "/LFSSourceArchives/11.3/thunderbird-102.9.0/python/mozbuild/mozbuild/frontend/gyp_reader.py", line 476, in results
1:03.76 flat_list, targets, data = self._gyp_loader_future.result()
1:03.76 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:03.76 File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result
1:03.79 return self.__get_result()
1:03.79 ^^^^^^^^^^^^^^^^^^^
1:03.79 File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
1:03.79 raise self._exception
1:03.79 gyp.common.GypError: Call to '"/LFSSourceArchives/11.3/thunderbird-102.9.0/obj-x86_64-pc-linux-gnu/_virtualenvs/build/bin/python" ./coreconf/detect_host_arch.py' returned exit status 0 while in /LFSSourceArchives/11.3/thunderbird-102.9.0/security/nss/nss.gyp. while trying to load /LFSSourceArchives/11.3/thunderbird-102.9.0/security/nss/nss.gyp
*** Fix above errors and then restart with "./mach build"It dies in the ./mach configure line.
All previous commands are by the book,

Cant find anything on google, I'm stumped! any ideas?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments