I got this after latest update:
FAILED: [code=1] gen/components/optimization_guide/core/model_execution/on_device_model_execution_proto_descriptors.cc gen/components/optimization_guide/core/model_execution/on_device_model_execution_proto_enum_templates.h
python3 ../../components/optimization_guide/tools/gen_on_device_proto_descriptors.py --proto_descriptors_cc=gen/components/optimization_guide/core/model_execution/on_device_model_execution_proto_descriptors.cc --enum_templates_h=gen/components/optimization_guide/core/model_execution/on_device_model_execution_proto_enum_templates.h --input_file gen/components/optimization_guide/proto/optimization_guide_proto.descriptor
Traceback (most recent call last):
File "/tmp/makepkg.builddir/ungoogled-chromium/src/chromium-152.0.7977.75/out/Release/../../components/optimization_guide/tools/gen_on_device_proto_descriptors.py", line 35, in <module>
from google.protobuf import descriptor_pb2
File "/tmp/makepkg.builddir/ungoogled-chromium/src/chromium-152.0.7977.75/third_party/protobuf/python/google/protobuf/descriptor_pb2.py", line 7, in <module>
from google.protobuf import descriptor as _descriptor
File "/tmp/makepkg.builddir/ungoogled-chromium/src/chromium-152.0.7977.75/third_party/protobuf/python/google/protobuf/descriptor.py", line 21, in <module>
from google.protobuf.internal import api_implementation
File "/tmp/makepkg.builddir/ungoogled-chromium/src/chromium-152.0.7977.75/third_party/protobuf/python/google/protobuf/internal/api_implementation.py", line 53, in <module>
if _CanImport('google._upb._message'):
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/makepkg.builddir/ungoogled-chromium/src/chromium-152.0.7977.75/third_party/protobuf/python/google/protobuf/internal/api_implementation.py", line 43, in _CanImport
mod = importlib.import_module(mod_name)
File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'google.protobuf.message' has no attribute 'FrozenInstanceError'
[31390/55920] CXX obj/third_party/blink/renderer/modules/webgpu/webgpu/gpu_texture.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Add chromium-152-protobuf-upb-fallback.patch:
--- a/third_party/protobuf/python/google/protobuf/internal/api_implementation.py
+++ b/third_party/protobuf/python/google/protobuf/internal/api_implementation.py
@@ -45,7 +45,7 @@
if not mod:
raise ImportError(mod_name + ' import succeeded but was None')
return True
- except ImportError:
+ except Exception:
return False
Add the patch as a source in PKGBUILD and in prepare():
patch -Np1 -i ../chromium-152-protobuf-upb-fallback.patch
This happens when the system has python-protobuf installed, which is newer than what that python script expects.
Pinned Comments
JstKddng commented on 2022-05-06 14:37 (UTC) (edited on 2022-06-27 13:48 (UTC) by JstKddng)
A new va-api patch for wayland has been added. Required flags for it to work are the following, thanks to @acidunit
JstKddng commented on 2020-07-19 06:34 (UTC)
You can get prebuilt binaries here:
https://github.com/ungoogled-software/ungoogled-chromium-archlinux#binary-downloads
seppia commented on 2018-12-12 21:34 (UTC)
Please do NOT flag this package as out of date in relation to official chromium releases.
This is NOT Google Chromium and new releases come after additional work of the ungoogled-chromium contributors, so they may not be ready, nor available for days or even weeks after a new version of official chromium is released.
Please refer to https://github.com/Eloston/ungoogled-chromium/tags for ungoogled-chromium releases. Use those and please flag this package as out of date only if a newer release is present there. I will update the PKGBUILD as soon as I can every time a new release comes out.
Thanks