error[E0425]
Categories
(Thunderbird :: Installer, defect)
Tracking
(Not tracked)
People
(Reporter: kladit, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Steps to reproduce:
I try to compile thunderbird-128.4.4esr from source.
Linux 6.11.9
gcc version 14.2.1
binutils-2.43.1
rust-1.82.0
llvm-19.1.4
node-v20.18.1
Actual results:
I get these errors:
0:56.66 error[E0425]: cannot find value pseudo
in this scope
0:56.73 error[E0425]: cannot find value old_values
in this scope
0:56.80 error[E0425]: cannot find value pseudo
in this scope
0:56.84 error[E0425]: cannot find value parent_style
in this scope
0:56.88 error[E0425]: cannot find value stylist
in this scope
0:56.92 error[E0425]: cannot find value pseudo
in this scope
0:56.96 error[E0425]: cannot find value parent_style
in this scope
0:57.00 error[E0425]: cannot find value stylist
in this scope
0:57.05 error[E0425]: cannot find value parent
in this scope
0:57.09 error[E0425]: cannot find value stylist
in this scope
0:57.13 error[E0425]: cannot find value pseudo
in this scope
0:57.17 error[E0425]: cannot find value parent
in this scope
0:57.21 error[E0425]: cannot find value stylist
in this scope
0:57.25 error[E0425]: cannot find value parent
in this scope
0:57.28 error[E0425]: cannot find value pseudo
in this scope
Expected results:
succesfull compilation
Comment 1•14 days ago
|
||
Please provide clear steps to reproduce which leave no room for interpretation, plus source file names and line numbers.
Comment 2•14 days ago
|
||
See https://developer.thunderbird.net/thunderbird-development/building-thunderbird
Before proceeding, also run ./mach bootstrap
Reporter | ||
Comment 3•14 days ago
|
||
(In reply to Andre Klapper from comment #1)
Please provide clear steps to reproduce which leave no room for interpretation, plus source file names and line numbers.
Andre,
I have sent you a file, with the output of the following commands :
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
export MOZBUILD_STATE_PATH=$(pwd)/mozbuild
./mach build --verbose > $SrcTopDir/mach.build.log
Reporter | ||
Comment 4•14 days ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
See https://developer.thunderbird.net/thunderbird-development/building-thunderbird
Before proceeding, also run./mach bootstrap
When I do this I first get this:
Using an experimental bootstrapper for Solus.
Note on Artifact Mode:
Artifact builds download prebuilt C++ components rather than building
them locally. Artifact builds are faster!
Artifact builds are recommended for people working on Firefox or
Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
for those working on C++ code. For more information see:
https://firefox-source-docs.mozilla.org/contributing/build/artifact_builds.html.
Please choose the version of Firefox you want to build (see note above):
- Firefox for Desktop Artifact Mode [default]
- Firefox for Desktop
- GeckoView/Firefox for Android Artifact Mode
- GeckoView/Firefox for Android
- SpiderMonkey JavaScript engine
Your choice:
What should I choose?
I miss "thunderbird" mentioned.
Reporter | ||
Comment 5•14 days ago
|
||
(In reply to Klaus Dittrich from comment #4)
(In reply to Magnus Melin [:mkmelin] from comment #2)
See https://developer.thunderbird.net/thunderbird-development/building-thunderbird
Before proceeding, also run./mach bootstrap
When I do this I first get this:
Using an experimental bootstrapper for Solus.
Note on Artifact Mode:
Artifact builds download prebuilt C++ components rather than building
them locally. Artifact builds are faster!Artifact builds are recommended for people working on Firefox or
Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
for those working on C++ code. For more information see:
https://firefox-source-docs.mozilla.org/contributing/build/artifact_builds.html.Please choose the version of Firefox you want to build (see note above):
- Firefox for Desktop Artifact Mode [default]
- Firefox for Desktop
- GeckoView/Firefox for Android Artifact Mode
- GeckoView/Firefox for Android
- SpiderMonkey JavaScript engine
Your choice:What should I choose?
I miss "thunderbird" mentioned.
I ran it through my installation script. Here is the output.
Please choose the version of Firefox you want to build (see note above):
- Firefox for Desktop Artifact Mode [default]
- Firefox for Desktop
- GeckoView/Firefox for Android Artifact Mode
- GeckoView/Firefox for Android
- SpiderMonkey JavaScript engine
Your choice:
Selecting "1" because context is not interactive.
Error running mach:
mach bootstrap
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ./mach busted
to check if this issue is already on file. If it
isn't, please use ./mach busted file bootstrap
to report it. If ./mach busted
is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
AssertionError
File "/sources/thunderbird-128.4.4esr/thunderbird-128.4.4/python/mozboot/mozboot/mach_commands.py", line 50, in bootstrap
bootstrapper.bootstrap(command_context.settings)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sources/thunderbird-128.4.4esr/thunderbird-128.4.4/python/mozboot/mozboot/bootstrap.py", line 439, in bootstrap
self._validate_python_environment(checkout_root)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/sources/thunderbird-128.4.4esr/thunderbird-128.4.4/python/mozboot/mozboot/bootstrap.py", line 680, in _validate_python_environment
mach_site.attempt_populate_optional_packages()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/sources/thunderbird-128.4.4esr/thunderbird-128.4.4/python/mach/mach/site.py", line 362, in attempt_populate_optional_packages
self._virtualenv().install_optional_packages(
~~~~~~~~~~~~~~~~^^
File "/sources/thunderbird-128.4.4esr/thunderbird-128.4.4/python/mach/mach/site.py", line 434, in _virtualenv
assert self._site_packages_source == SitePackagesSource.VENV
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reporter | ||
Comment 6•14 days ago
|
||
(In reply to Andre Klapper from comment #1)
Please provide clear steps to reproduce which leave no room for interpretation, plus source file names and line numbers.
Ok, I found this
0:57.03 [glslopt 0.1.10] cargo:warning= 518 | if (!HAS_TRIVIAL_DESTRUCTOR(TYPE))
0:57.03 [glslopt 0.1.10] cargo:warning= | ^
0:57.03 [glslopt 0.1.10] cargo:warning=glsl-optimizer/src/util/macros.h:195:44: note: expanded from macro 'HAS_TRIVIAL_DESTRUCTOR'
0:57.03 [glslopt 0.1.10] cargo:warning= 195 | # define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
0:57.03 [glslopt 0.1.10] cargo:warning= | ^
0:57.03 error: expected ::
, found {
0:57.03 --> /sources/thunderbird-128.4.4esr/thunderbird-128.4.4/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/release/build/style-a27d3ad124549a73/out/gecko/pseudo_element_definition.rs:1077:56
and later
0:58.49 [glslopt 0.1.10] cargo:warning= 524 | DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, ralloc_size)
0:58.49 [glslopt 0.1.10] cargo:warning= | ^
0:58.49 [glslopt 0.1.10] cargo:warning=glsl-optimizer/src/util/ralloc.h:518:12: note: expanded from macro 'DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE'
0:58.49 [glslopt 0.1.10] cargo:warning= 518 | if (!HAS_TRIVIAL_DESTRUCTOR(TYPE))
0:58.49 [glslopt 0.1.10] cargo:warning= | ^
0:58.49 [glslopt 0.1.10] cargo:warning=glsl-optimizer/src/util/macros.h:195:44: note: expanded from macro 'HAS_TRIVIAL_DESTRUCTOR'
0:58.49 [glslopt 0.1.10] cargo:warning= 195 | # define HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
0:58.49 [glslopt 0.1.10] cargo:warning= | ^
0:58.50 error[E0425]: cannot find value pseudo
in this scope
0:58.50 --> /sources/thunderbird-128.4.4esr/thunderbird-128.4.4/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/release/build/style-a27d3ad124549a73/out/properties.rs:52485:20
0:58.50 |
0:58.50 52485 | ).to_outer(pseudo)
0:58.50 | ^^^^^^ not found in this scope
0:58.50 ...
0:58.50 52537 | pub fn pseudo(&self) -> Option<PseudoElement> {
0:58.50 | ------ a method by that name is available on Self
here
0:58.54 [glslopt 0.1.10] cargo:warning=4 warnings generated.
0:58.56 error[E0425]: cannot find value old_values
in this scope
Description
•