librewolf/gentoo
15
36
Fork
You've already forked gentoo
7

www-client/librewolf: add 149.0.2_p2 #73

Merged
TheGreatMcPain merged 5 commits from :master into master 2026年04月17日 09:18:39 +02:00
Contributor
Copy link

Signed-off-by: doasu gentoo@doasu.dev

Signed-off-by: doasu <gentoo@doasu.dev>

@doasu Could you change the build to use our langpacks? librewolf/issues#2961

@doasu Could you change the build to use our langpacks? https://codeberg.org/librewolf/issues/issues/2961
Author
Contributor
Copy link

Bumped 2387fc6f0b/www-client/librewolf/librewolf-148.0.2_p2.ebuild and 2387fc6f0b/www-client/librewolf-bin/librewolf-bin-148.0.2_p2.ebuild.

Haven't compiled the source package yet, but the binary package seems to work (I'm writing this comment from 149.0.2)
I'll let you know if the source package works once it's finished compiling. :)

Bumped https://codeberg.org/librewolf/gentoo/src/commit/2387fc6f0b5cac40fd1ed2682152ce4fe2902f9b/www-client/librewolf/librewolf-148.0.2_p2.ebuild and https://codeberg.org/librewolf/gentoo/src/commit/2387fc6f0b5cac40fd1ed2682152ce4fe2902f9b/www-client/librewolf-bin/librewolf-bin-148.0.2_p2.ebuild. Haven't compiled the source package yet, but the binary package seems to work (I'm writing this comment from 149.0.2) I'll let you know if the source package works once it's finished compiling. :)
@ -0,0 +3,4 @@
EAPI=8
FIREFOX_PATCHSET="firefox-148-patches-02.tar.xz"
Author
Contributor
Copy link

Oops! The prepare stage failed because a firefox version is hardcoded here... 😬

Oops! The `prepare` stage failed because a firefox version is hardcoded here... 😬
Author
Contributor
Copy link
Fixed: https://codeberg.org/librewolf/gentoo/compare/b034b231c2c620ed17aade5ec020e784dadbf057..8e109e2d5addf8940429d0674a18ce92f2fd393d
doasu marked this conversation as resolved
Author
Contributor
Copy link

@any1here wrote in #73 (comment):

@doasu Could you change the build to use our langpacks? librewolf/issues#2961

Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p

@any1here wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12892602: > @doasu Could you change the build to use our langpacks? librewolf/issues#2961 Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p

@doasu wrote in #73 (comment):

@any1here wrote in #73 (comment):

@doasu Could you change the build to use our langpacks? librewolf/issues#2961

Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p

TLDR: https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25

This is how our builds use the language packs that we have made

@doasu wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12893028: > @any1here wrote in #73 (comment): > > > @doasu Could you change the build to use our langpacks? librewolf/issues#2961 > > Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p TLDR: https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25 This is how our builds use the language packs that we have made
Author
Contributor
Copy link

Thanks! I'll keep you posted.

Thanks! I'll keep you posted.

@doasu wrote in #73 (comment):

@any1here wrote in #73 (comment):

@doasu wrote in #73 (comment):

@any1here wrote in #73 (comment):

@doasu Could you change the build to use our langpacks? librewolf/issues#2961

Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p

TLDR: https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25
This is how our builds use the language packs that we have made

Thanks! I'll keep you posted.

I looked it over, but I can't really help since I'm not familiar with Gentoo's packaging.

@doasu wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12893247: > @any1here wrote in #73 (comment): > > > @doasu wrote in #73 (comment): > > > @any1here wrote in #73 (comment): > > > > @doasu Could you change the build to use our langpacks? librewolf/issues#2961 > > > > > > > > > Yeah, I'll try to figure it out. I'll take any pointers/tips though, if you have any :p > > > > > > TLDR: https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25 > > This is how our builds use the language packs that we have made > > Thanks! I'll keep you posted. I looked it over, but I can't really help since I'm not familiar with Gentoo's packaging.
Author
Contributor
Copy link

@any1here: All good :)
The ebuild is rather large so I have to wrap my head around it, but I should be able to figure it out.

Unfortunately for me, each ebuild can have its own DSL, so it's not so simple.
Plus, it's my first time looking at this TwT

If it's alright, I'll ask you if I have any questions about librewolf/firefox-specific stuff.

@any1here: All good :) The ebuild is rather large so I have to wrap my head around it, but I should be able to figure it out. Unfortunately for me, each ebuild can have its own DSL, so it's not so simple. Plus, it's my first time looking at this TwT If it's alright, I'll ask you if I have any questions about librewolf/firefox-specific stuff.
doasu changed title from (削除) www-client/librewolf: add 149.0.2_p1 (削除ここまで) to WIP: www-client/librewolf: add 149.0.2_p1 2026年04月08日 21:30:38 +02:00
@ -0,0 +1359,4 @@
local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
if [[ -n "${langpacks}" ]] ; then
moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
fi
Author
Contributor
Copy link

@any1here are these the same languagepacks we're talking about?

If I understand correctly, the ones Gentoo uses are distributed as .xpi files.

Refs: librewolf/issues#2961

@any1here are these the same languagepacks we're talking about? If I understand correctly, the ones Gentoo uses are distributed as `.xpi` files. Refs: librewolf/issues#2961
Owner
Copy link

In your current build, does our custom settings pane showup correctly?

image

In your current build, does our custom settings pane showup correctly? ![image](/attachments/4aba930e-4213-44c6-8c6d-aa83782917d2)
115 KiB
Author
Contributor
Copy link

I haven't been able to compile the source package yet.

On the binary package works fine, though:
image

I haven't been able to compile the source package yet. On the binary package works fine, though: ![image](/attachments/bbc8218c-4f44-4356-a369-4f043812b309)
108 KiB
Owner
Copy link

I guess this issue refers to the non bin version only?

I guess this [issue](https://codeberg.org/librewolf/issues/issues/2961#issue-4179072) refers to the non bin version only?
Author
Contributor
Copy link

It would appear so!

It would appear so!
Author
Contributor
Copy link

@any1here actually... no?

I cannot reproduce the issue. I'm seeing the expected strings on the compiled version, too (148.0.2):
image

@any1here actually... no? I cannot reproduce the issue. I'm seeing the expected strings on the compiled version, too (`148.0.2`): ![image](/attachments/090eaea3-d12e-42e6-bd91-3b56e529eb60)
@ -0,0 +58,4 @@
if [[ ${PV} == *_rc* ]] ; then
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
fi
LIBREWOLF_SRC_URI="https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${LIBREWOLF_PV}/librewolf-${LIBREWOLF_PV}.source.tar.gz"
Owner
Copy link

This contains our langpacks in the lw folder which then gets used via https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25

This contains our langpacks in the `lw` folder which then gets used via https://codeberg.org/librewolf/source/src/branch/main/assets/mozconfig.new#L25
Author
Contributor
Copy link

I can see the lw directory in the extracted source tarball, and the appropriate mozconfig argument is already present in the ebuild, so is there anything missing?

If I understand correctly, we should be able to just remove the .xpi installation step.

I can see the `lw` directory in the extracted source tarball, and the appropriate mozconfig argument is already present in the ebuild, so is there anything missing? If I understand correctly, we should be able to just remove the `.xpi` installation step.
Author
Contributor
Copy link

LibreWolf is cooking rn, but I'll let you know once it compiles.

Do we have to register the languagepacks somehow, or place them in a specific directory?

LibreWolf is cooking rn, but I'll let you know once it compiles. Do we have to register the languagepacks somehow, or place them in a specific directory?
Owner
Copy link

ac_add_options --with-l10n-base=$PWD/lw/l10n and that should be pretty much it.

`ac_add_options --with-l10n-base=$PWD/lw/l10n` and that should be pretty much it.
Author
Contributor
Copy link

Accidentally cleaned my build directory (lmao), so I have to start again. 🥀

Accidentally cleaned my build directory (lmao), so I have to start again. 🥀
Owner
Copy link

https://codeberg.org/librewolf/source/releases/tag/149.0.2-2 we pushed a minor release, which only changes a single setting so don't worry about rebuilding because of this. Just remember to update to this version when you have tested everything :) I'll be able to help again tomorrow

https://codeberg.org/librewolf/source/releases/tag/149.0.2-2 we pushed a minor release, which only changes a single setting so don't worry about rebuilding because of this. Just remember to update to this version when you have tested everything :) I'll be able to help again tomorrow
Author
Contributor
Copy link

Well, good news is that this version compiled successfully, bad news is that the language packs are still missing...
image

Well, good news is that this version compiled successfully, bad news is that the language packs are still missing... ![image](/attachments/828f5203-27e3-41db-b0a5-2a1208fb0b55)
Author
Contributor
Copy link

Moving to !74.

Moving to !74.
Author
Contributor
Copy link

@any1here wrote in #73 (comment):

https://codeberg.org/librewolf/source/releases/tag/149.0.2-2 we pushed a minor release, which only changes a single setting so don't worry about rebuilding because of this. Just remember to update to this version when you have tested everything :) I'll be able to help again tomorrow

bumped to 149.0.2-2 in ca73bbd3, 171f288d 👍

@any1here wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12897807: > https://codeberg.org/librewolf/source/releases/tag/149.0.2-2 we pushed a minor release, which only changes a single setting so don't worry about rebuilding because of this. Just remember to update to this version when you have tested everything :) I'll be able to help again tomorrow bumped to `149.0.2-2` in ca73bbd3, 171f288d :+1:
Author
Contributor
Copy link

@doasu wrote in #73 (comment):

[...] I'll let you know if the source package works once it's finished compiling. :)

@doasu wrote in #73 (comment):

I haven't been able to compile the source package yet.

The compilation fails with the following error:
 0:07.40 Creating config.status
 0:07.83 Reticulating splines...
 0:08.27 Traceback (most recent call last):
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 331, in 
 0:08.27 sys.exit(main(sys.argv))
 0:08.27 ~~~~^^^^^^^^^^
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 161, in main
 0:08.27 return config_status(config)
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 280, in config_status
 0:08.27 return config_status(args=[], **sanitized_config)
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/config_status.py", line 203, in config_status
 0:08.27 definitions = list(definitions)
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 157, in emit
 0:08.27 objs = list(emitfn(out))
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 1441, in emit_from_context
 0:08.27 for obj in self._handle_linkables(context, passthru, generated_files):
 0:08.27 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 946, in _handle_linkables
 0:08.27 lib = self._rust_library(
 0:08.27 context,
 0:08.27 ...<2 lines>...
 0:08.27 is_gkrust=bool(context.get("IS_GKRUST")),
 0:08.27 )
 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 631, in _rust_library
 0:08.27 raise SandboxValidationError(
 0:08.27 ...<3 lines>...
 0:08.27 )
 0:08.27 mozbuild.frontend.reader.SandboxValidationError:
 0:08.27 ==============================
 0:08.27 FATAL ERROR PROCESSING MOZBUILD FILE
 0:08.27 ==============================
 0:08.27
 0:08.27 The error occurred while processing the following file or one of the files it includes:
 0:08.27
 0:08.27 /var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/toolkit/library/rust/moz.build
 0:08.27
 0:08.27 The error occurred when validating the result of the execution. The reported error is:
 0:08.27
 0:08.27 features for gkrust should not contain duplicates: ['gkrust-shared/for_xul', 'gkrust-shared/cubeb_pulse_rust', 'gkrust-shared/simd-accel', 'gkrust-shared/cubeb-remoting', 'gkrust-shared/moz_memory', 'gkrust-shared/moz_places', 'gkrust-shared/gecko_profiler', 'gkrust-shared/gecko_profiler_parse_elf', 'gkrust-shared/webrtc', 'gkrust-shared/glean_with_gecko', 'gkrust-shared/glean_disable_upload', 'gkrust-shared/with_dbus', 'gkrust-shared/webmidi_midir_impl', 'gkrust-shared/icu4x', 'gkrust-shared/jxl_decoder', 'gkrust-shared/glean_disable_upload']
 0:08.27
 0:08.27
 0:09.52 E *** Fix above errors and then restart with "./mach build"

CC: @any1here @TheGreatMcPain

@doasu wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12892641: > [...] I'll let you know if the source package works once it's finished compiling. :) @doasu wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12893961: > I haven't been able to compile the source package yet. <details><summary>The compilation fails with the following error:</summary> <pre> 0:07.40 Creating config.status 0:07.83 Reticulating splines... 0:08.27 Traceback (most recent call last): 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 331, in <module> 0:08.27 sys.exit(main(sys.argv)) 0:08.27 ~~~~^^^^^^^^^^ 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 161, in main 0:08.27 return config_status(config) 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 280, in config_status 0:08.27 return config_status(args=[], **sanitized_config) 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/config_status.py", line 203, in config_status 0:08.27 definitions = list(definitions) 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 157, in emit 0:08.27 objs = list(emitfn(out)) 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 1441, in emit_from_context 0:08.27 for obj in self._handle_linkables(context, passthru, generated_files): 0:08.27 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 946, in _handle_linkables 0:08.27 lib = self._rust_library( 0:08.27 context, 0:08.27 ...<2 lines>... 0:08.27 is_gkrust=bool(context.get("IS_GKRUST")), 0:08.27 ) 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 631, in _rust_library 0:08.27 raise SandboxValidationError( 0:08.27 ...<3 lines>... 0:08.27 ) 0:08.27 mozbuild.frontend.reader.SandboxValidationError: 0:08.27 ============================== 0:08.27 FATAL ERROR PROCESSING MOZBUILD FILE 0:08.27 ============================== 0:08.27 0:08.27 The error occurred while processing the following file or one of the files it includes: 0:08.27 0:08.27 /var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/toolkit/library/rust/moz.build 0:08.27 0:08.27 The error occurred when validating the result of the execution. The reported error is: 0:08.27 0:08.27 features for gkrust should not contain duplicates: ['gkrust-shared/for_xul', 'gkrust-shared/cubeb_pulse_rust', 'gkrust-shared/simd-accel', 'gkrust-shared/cubeb-remoting', 'gkrust-shared/moz_memory', 'gkrust-shared/moz_places', 'gkrust-shared/gecko_profiler', 'gkrust-shared/gecko_profiler_parse_elf', 'gkrust-shared/webrtc', 'gkrust-shared/glean_with_gecko', 'gkrust-shared/glean_disable_upload', 'gkrust-shared/with_dbus', 'gkrust-shared/webmidi_midir_impl', 'gkrust-shared/icu4x', 'gkrust-shared/jxl_decoder', 'gkrust-shared/glean_disable_upload'] 0:08.27 0:08.27 0:09.52 E *** Fix above errors and then restart with "./mach build" </pre> </details> CC: @any1here @TheGreatMcPain

@doasu wrote in #73 (comment):

@doasu wrote in #73 (comment):

[...] I'll let you know if the source package works once it's finished compiling. :)

@doasu wrote in #73 (comment):

I haven't been able to compile the source package yet.

The compilation fails with the following error:
0:07.40 Creating config.status
0:07.83 Reticulating splines...
0:08.27 Traceback (most recent call last):
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 331, in
0:08.27 sys.exit(main(sys.argv))
0:08.27 ~~~~^^^^^^^^^^
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 161, in main
0:08.27 return config_status(config)
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 280, in config_status
0:08.27 return config_status(args=[], **sanitized_config)
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/config_status.py", line 203, in config_status
0:08.27 definitions = list(definitions)
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 157, in emit
0:08.27 objs = list(emitfn(out))
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 1441, in emit_from_context
0:08.27 for obj in self._handle_linkables(context, passthru, generated_files):
0:08.27 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 946, in _handle_linkables
0:08.27 lib = self._rust_library(
0:08.27 context,
0:08.27 ...<2 lines>...
0:08.27 is_gkrust=bool(context.get("IS_GKRUST")),
0:08.27 )
0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 631, in _rust_library
0:08.27 raise SandboxValidationError(
0:08.27 ...<3 lines>...
0:08.27 )
0:08.27 mozbuild.frontend.reader.SandboxValidationError:
0:08.27 ==============================
0:08.27 FATAL ERROR PROCESSING MOZBUILD FILE
0:08.27 ==============================
0:08.27
0:08.27 The error occurred while processing the following file or one of the files it includes:
0:08.27
0:08.27 /var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/toolkit/library/rust/moz.build
0:08.27
0:08.27 The error occurred when validating the result of the execution. The reported error is:
0:08.27
0:08.27 features for gkrust should not contain duplicates: ['gkrust-shared/for_xul', 'gkrust-shared/cubeb_pulse_rust', 'gkrust-shared/simd-accel', 'gkrust-shared/cubeb-remoting', 'gkrust-shared/moz_memory', 'gkrust-shared/moz_places', 'gkrust-shared/gecko_profiler', 'gkrust-shared/gecko_profiler_parse_elf', 'gkrust-shared/webrtc', 'gkrust-shared/glean_with_gecko', 'gkrust-shared/glean_disable_upload', 'gkrust-shared/with_dbus', 'gkrust-shared/webmidi_midir_impl', 'gkrust-shared/icu4x', 'gkrust-shared/jxl_decoder', 'gkrust-shared/glean_disable_upload']
0:08.27
0:08.27
0:09.52 E *** Fix above errors and then restart with "./mach build"
CC: @any1here @TheGreatMcPain

You are missing export MOZILLA_OFFICIAL=1 in the mozconfig

@doasu wrote in https://codeberg.org/librewolf/gentoo/pulls/73#issuecomment-12894105: > @doasu wrote in #73 (comment): > > > [...] I'll let you know if the source package works once it's finished compiling. :) > > @doasu wrote in #73 (comment): > > > I haven't been able to compile the source package yet. > > The compilation fails with the following error: > 0:07.40 Creating config.status > 0:07.83 Reticulating splines... > 0:08.27 Traceback (most recent call last): > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 331, in > 0:08.27 sys.exit(main(sys.argv)) > 0:08.27 ~~~~^^^^^^^^^^ > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 161, in main > 0:08.27 return config_status(config) > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/configure.py", line 280, in config_status > 0:08.27 return config_status(args=[], **sanitized_config) > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/config_status.py", line 203, in config_status > 0:08.27 definitions = list(definitions) > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 157, in emit > 0:08.27 objs = list(emitfn(out)) > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 1441, in emit_from_context > 0:08.27 for obj in self._handle_linkables(context, passthru, generated_files): > 0:08.27 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 946, in _handle_linkables > 0:08.27 lib = self._rust_library( > 0:08.27 context, > 0:08.27 ...<2 lines>... > 0:08.27 is_gkrust=bool(context.get("IS_GKRUST")), > 0:08.27 ) > 0:08.27 File "/var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/python/mozbuild/mozbuild/frontend/emitter.py", line 631, in _rust_library > 0:08.27 raise SandboxValidationError( > 0:08.27 ...<3 lines>... > 0:08.27 ) > 0:08.27 mozbuild.frontend.reader.SandboxValidationError: > 0:08.27 ============================== > 0:08.27 FATAL ERROR PROCESSING MOZBUILD FILE > 0:08.27 ============================== > 0:08.27 > 0:08.27 The error occurred while processing the following file or one of the files it includes: > 0:08.27 > 0:08.27 /var/tmp/portage/www-client/librewolf-149.0.2_p1/work/librewolf-149.0.2-1/toolkit/library/rust/moz.build > 0:08.27 > 0:08.27 The error occurred when validating the result of the execution. The reported error is: > 0:08.27 > 0:08.27 features for gkrust should not contain duplicates: ['gkrust-shared/for_xul', 'gkrust-shared/cubeb_pulse_rust', 'gkrust-shared/simd-accel', 'gkrust-shared/cubeb-remoting', 'gkrust-shared/moz_memory', 'gkrust-shared/moz_places', 'gkrust-shared/gecko_profiler', 'gkrust-shared/gecko_profiler_parse_elf', 'gkrust-shared/webrtc', 'gkrust-shared/glean_with_gecko', 'gkrust-shared/glean_disable_upload', 'gkrust-shared/with_dbus', 'gkrust-shared/webmidi_midir_impl', 'gkrust-shared/icu4x', 'gkrust-shared/jxl_decoder', 'gkrust-shared/glean_disable_upload'] > 0:08.27 > 0:08.27 > 0:09.52 E *** Fix above errors and then restart with "./mach build" > CC: @any1here @TheGreatMcPain You are missing export MOZILLA_OFFICIAL=1 in the mozconfig
@ -0,0 +894,4 @@
# MOZ_TELEMETRY_REPORTING=0
export MOZ_REQUIRE_SIGNING=
Owner
Copy link

You can add it here export MOZILLA_OFFICIAL=1

You can add it here `export MOZILLA_OFFICIAL=1`
Author
Contributor
Copy link

It does indeed fix the issue 0.o

Refs: 753b0e5a4a

It does indeed fix the issue 0.o Refs: https://codeberg.org/librewolf/gentoo/commit/753b0e5a4a3d207c5d1ae0a46bed9dc2e7bdcc2b
Owner
Copy link

It is because uploading the gkrust_features crate is normally disabled on non official builds. We switched to MOZILLA_OFFICIAL in the last release and then manually added it back librewolf/source@7cb7143e47 (diff-60f04e0f11) which means your build had it added twice

It is because uploading the gkrust_features crate is normally disabled on non official builds. We switched to MOZILLA_OFFICIAL in the last release and then manually added it back https://codeberg.org/librewolf/source/commit/7cb7143e47cdaaf93d2b35fb632ca7522e2bf2fc#diff-60f04e0f11e8fb17492bcd046f26cbf47058adcf which means your build had it added twice
doasu marked this conversation as resolved
Author
Contributor
Copy link

I'm moving the fix for librewolf/issues#2961 into its own issue.

I'm moving the fix for https://codeberg.org/librewolf/issues/issues/2961 into its own issue.
doasu changed title from (削除) WIP: www-client/librewolf: add 149.0.2_p1 (削除ここまで) to www-client/librewolf: add 149.0.2_p1 2026年04月09日 12:54:58 +02:00
doasu changed title from (削除) www-client/librewolf: add 149.0.2_p1 (削除ここまで) to www-client/librewolf: add 149.0.2_p2 2026年04月12日 01:39:57 +02:00
Author
Contributor
Copy link

Ready to merge btw.

Ready to merge btw.
Author
Contributor
Copy link

Thanks! ^^

Thanks! ^^
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
librewolf/gentoo!73
Reference in a new issue
librewolf/gentoo
No description provided.
Delete branch ":master"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?