Package Details: electron13 13.6.9-3

Git Clone URL: https://aur.archlinux.org/electron13.git (read-only, click to copy)
Package Base: electron13
Description: Build cross platform desktop apps with web technologies
Upstream URL: https://electronjs.org/
Licenses: custom, MIT
Submitter: Archange
Maintainer: Paragoumba
Last Packager: Archange
Votes: 10
Popularity: 0.64
First Submitted: 2022-08-20 19:35 (UTC)
Last Updated: 2022-08-20 19:35 (UTC)

Dependencies (36)

Sources (23)

Latest Comments

whoisroot commented on 2022-10-28 20:54 (UTC) (edited on 2022-10-28 20:56 (UTC) by whoisroot)

The wrong imports are in the following files.

src/src/third_party/catapult/third_party/google-endpoints/future/backports/misc.py
src/src/third_party/catapult/third_party/google-endpoints/requests/packages/urllib3/_collections.py
src/src/third_party/catapult/third_party/google-endpoints/requests/packages/urllib3/util/selectors.py
src/src/third_party/catapult/third_party/google-endpoints/requests/sessions.py
src/src/third_party/catapult/third_party/google-endpoints/urllib3/_collections.py
src/src/third_party/catapult/third_party/google-endpoints/urllib3/util/selectors.py
src/src/third_party/electron_node/tools/inspector_protocol/jinja2/runtime.py
src/src/third_party/electron_node/tools/inspector_protocol/jinja2/sandbox.py
src/src/third_party/electron_node/tools/inspector_protocol/jinja2/tests.py
src/src/third_party/electron_node/tools/inspector_protocol/jinja2/utils.py
src/src/third_party/jinja2/runtime.py
src/src/third_party/jinja2/sandbox.py
src/src/third_party/jinja2/tests.py
src/src/third_party/jinja2/utils.py
src/src/third_party/pyelftools/elftools/construct/lib/container.py

Some libraries seem to have already fixed the import problem with

try:
    from collections.abc import Mapping, MutableMapping
except ImportError:
    from collections import Mapping, MutableMapping

whoisroot commented on 2022-10-27 17:35 (UTC)

I'm getting import errors with Python 3.10 because Mapping, MutableMapping, MutableSet, Callable, Iterable and Iterator are now in collections.abc and not at the base library any more.

rafhack commented on 2022-10-09 19:18 (UTC)

I'm getting

ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Hill-98 commented on 2022-09-22 08:48 (UTC)

Need to rebuild for flac 1.4

LRitzdorf commented on 2022-09-01 20:25 (UTC)

Interesting, I have a completely different build issue, relating to newlines, apparently? This appears immediately after NPM auditing completes:

[E2022-08-24T22:52:08.276010-06:00 28894 0 venv.go:977] Command (cwd=/tmp/vpython_bootstrap4157386301/packages/virtualenv-16.7.10): [/home/me/.cache/paru/clone/electron13/src/depot_tools/.cipd_bin/.cipd/pkgs/0/XQxtJPiwHevSlqESfrtvcTcnyr5RFdhZ6SObC-qjr8AC/2.7/bin/python -B -E -s virtualenv.py --no-download /home/me/.vpython-root/ff1257]
Process output:
New python executable in /home/me/.vpython-root/ff1257/bin/python
Command /home/me/.vpython-root/ff1257/bin/python -m pip config list had error code 2
Traceback (most recent call last):
  File "virtualenv.py", line 2651, in <module>
    main()
  File "virtualenv.py", line 869, in main
    symlink=options.symlink,
  File "virtualenv.py", line 1178, in create_environment
    install_wheel(to_install, py_executable, search_dirs, download=download)
  File "virtualenv.py", line 1022, in install_wheel
    _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
  File "virtualenv.py", line 1049, in _install_wheel_with_search_dir
    config = _pip_config(py_executable, python_path)
  File "virtualenv.py", line 1133, in _pip_config
    config[key] = ast.literal_eval(value)
  File "/home/me/.cache/paru/clone/electron13/src/depot_tools/.cipd_bin/.cipd/pkgs/0/XQxtJPiwHevSlqESfrtvcTcnyr5RFdhZ6SObC-qjr8AC/2.7/lib/python2.7/ast.py", line 49, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/home/me/.cache/paru/clone/electron13/src/depot_tools/.cipd_bin/.cipd/pkgs/0/XQxtJPiwHevSlqESfrtvcTcnyr5RFdhZ6SObC-qjr8AC/2.7/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    yes\n'
    ^
IndentationError: unexpected indent

Environment:
[environment variable dump here; redacted in this paste]
[E2022-08-24T22:52:08.276848-06:00 28894 0 annotate.go:273] original error: exit status 1

goroutine 1:
#0 go.chromium.org/luci/vpython/venv/venv.go:621 - venv.(*Env).installVirtualEnv()
  reason: failed to create VirtualEnv

#1 go.chromium.org/luci/vpython/venv/venv.go:535 - venv.(*Env).createLocked.func2()
  reason: failed to install VirtualEnv

#2 go.chromium.org/luci/common/system/filesystem/tempdir.go:55 - filesystem.(*TempDir).With()
#3 go.chromium.org/luci/vpython/venv/venv.go:102 - venv.withTempDir()
#4 go.chromium.org/luci/vpython/venv/venv.go:521 - venv.(*Env).createLocked()
#5 go.chromium.org/luci/vpython/venv/venv.go:278 - venv.(*Env).ensure.func1()
  reason: failed to create new VirtualEnv

#6 go.chromium.org/luci/vpython/venv/venv.go:997 - venv.mustReleaseLock()
#7 go.chromium.org/luci/vpython/venv/venv.go:264 - venv.(*Env).ensure()
#8 go.chromium.org/luci/vpython/venv/venv.go:160 - venv.With()
  reason: failed to create empty probe environment

#9 go.chromium.org/luci/vpython/run.go:60 - vpython.Run()
#10 go.chromium.org/luci/vpython/application/application.go:324 - application.(*application).mainImpl()
#11 go.chromium.org/luci/vpython/application/application.go:413 - application.(*Config).Main.func1()
#12 go.chromium.org/luci/vpython/application/support.go:46 - application.run()
#13 go.chromium.org/luci/vpython/application/application.go:412 - application.(*Config).Main()
#14 infra/tools/vpython/main.go:144 - vpython.mainImpl()
#15 infra/tools/vpython/main.go:158 - vpython.Main()
#16 vpython/main.go:10 - main.main()
#17 runtime/proc.go:255 - runtime.main()
#18 runtime/asm_amd64.s:1581 - runtime.goexit()
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'electron13-13.6.9-3': 

qumaciel commented on 2022-08-31 06:48 (UTC)

I'm also unable to build this:

[635/40433] ACTION //components/ui_devtools:protocol_generated_sources(//build/toolchain/linux/unbundle:default)
FAILED: gen/components/ui_devtools/base_string_adapter.cc gen/components/ui_devtools/base_string_adapter.h gen/components/ui_devtools/CSS.cpp gen/components/ui_devtools/CSS.h gen/components/ui_devtools/DOM.cpp gen/components/ui_devtools/DOM.h gen/components/ui_devtools/Forward.h gen/components/ui_devtools/Overlay.cpp gen/components/ui_devtools/Overlay.h gen/components/ui_devtools/Page.cpp gen/components/ui_devtools/Page.h gen/components/ui_devtools/Protocol.cpp gen/components/ui_devtools/Protocol.h gen/components/ui_devtools/Tracing.h gen/components/ui_devtools/Tracing.cpp
python ../../third_party/inspector_protocol/code_generator.py --jinja_dir ../../third_party/ --output_base gen/components/ui_devtools --config ../../components/ui_devtools/inspector_protocol_config.json --inspector_protocol_dir //third_party/inspector_protocol
Traceback (most recent call last):
  File "/home/maciel/.cache/paru/clone/electron13/src/src/out/Release/../../third_party/inspector_protocol/code_generator.py", line 702, in <module>
    main()
  File "/home/maciel/.cache/paru/clone/electron13/src/src/out/Release/../../third_party/inspector_protocol/code_generator.py", line 584, in main
    jinja_env = initialize_jinja_env(jinja_dir, config.protocol.output, config)
  File "/home/maciel/.cache/paru/clone/electron13/src/src/out/Release/../../third_party/inspector_protocol/code_generator.py", line 190, in initialize_jinja_env
    import jinja2
  File "/home/maciel/.cache/paru/clone/electron13/src/src/third_party/jinja2/__init__.py", line 33, in <module>
    from jinja2.environment import Environment, Template
  File "/home/maciel/.cache/paru/clone/electron13/src/src/third_party/jinja2/environment.py", line 16, in <module>
    from jinja2.defaults import BLOCK_START_STRING, \
  File "/home/maciel/.cache/paru/clone/electron13/src/src/third_party/jinja2/defaults.py", line 32, in <module>
    from jinja2.tests import TESTS as DEFAULT_TESTS
  File "/home/maciel/.cache/paru/clone/electron13/src/src/third_party/jinja2/tests.py", line 13, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
[648/40433] ACTION //components/resources:about_credits(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.

dupondje commented on 2022-08-25 09:47 (UTC) (edited on 2022-08-25 09:48 (UTC) by dupondje)

Build seems to fail here: [38235/40433] CXX obj/third_party/blink/renderer/platform/platform/text_break_iterator_icu.o FAILED: obj/third_party/blink/renderer/platform/platform/text_break_iterator_icu.o clang++ -MMD -MF obj/third_party/blink/renderer/platform/platform/text_break_iterator_icu.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-6429-g0e92cbd6-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DBLINK_PLATFORM_IMPLEMENTATION=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_BLINK_V8_BINDING_NEW_IDL_CALLBACK_FUNCTION -DUSE_BLINK_V8_BINDING_NEW_IDL_INTERFACE -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_FAVOR_WUFFS_V_0_3_OVER_V_0_2 -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_ISOLATE_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DUSE_SYSTEM_LIBJPEG -I../../third_party/pffft/src -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/khronos -I../../gpu -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -I../../third_party/jsoncpp/source/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/common/platform/default -I../../net/third_party/quiche/src -I../../v8/include -Igen/v8/include -I../../third_party/ced/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/mesa_headers -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/iccjpeg -I../../third_party/ots/src/include -I../../third_party/emoji-segmenter/src -I../../third_party/one_euro_filter/src -I../../third_party/libjxl/src/lib/include -I../../third_party/libjxl/gen_headers -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -fno-omit-frame-pointer -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wconversion -Wno-float-conversion -Wno-sign-conversion -Wno-implicit-float-conversion -Wno-implicit-int-conversion -Wno-enum-float-conversion -Wshadow -Wno-shorten-64-to-32 -Wglobal-constructors -O2 -fdata-sections -ffunction-sections -g0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-unknown-warning-option -c ../../third_party/blink/renderer/platform/text/text_break_iterator_icu.cc -o obj/third_party/blink/renderer/platform/platform/text_break_iterator_icu.o ../../third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:123:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration after its linkage was computed; add a tag name here to establish linkage prior to definition typedef struct { ^ UTextWithBuffer ../../third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:124:3: note: type is not C-compatible due to this member declaration DISALLOW_NEW(); ^~~~~~~~~~~~~~ ../../third_party/blink/renderer/platform/wtf/allocator/allocator.h:39:2: note: expanded from macro 'DISALLOW_NEW' public: \ ^~~~~~~ ../../third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:127:3: note: type is given name 'UTextWithBuffer' for linkage purposes by this typedef declaration } UTextWithBuffer; ^ 1 error generated.