Package Details: electron9 9.4.4-2

Git Clone URL: https://aur.archlinux.org/electron9.git (read-only, click to copy)
Package Base: electron9
Description: Build cross platform desktop apps with web technologies
Upstream URL: https://electronjs.org/
Keywords: bloat chromium electron node
Licenses: custom, MIT
Submitter: jonathon
Maintainer: None
Last Packager: jonathon
Votes: 3
Popularity: 1.44
First Submitted: 2021-03-07 00:34
Last Updated: 2021-03-09 23:25

Dependencies (32)

Sources (17)

Latest Comments

1 2 Next › Last »

boletus_aereus commented on 2021-04-19 08:20

I'm experiencing some kind of bug when upgrading electron9 package, It's getting stuck in same point, could be a endless loop or something similar. This is pamac log:

[1:16:51]   src/third_party/icu
[1:16:51]   src/third_party/skia
[1:16:51]   src/third_party/sqlite/src
[1:16:51]   src/third_party/swiftshader
[1:16:51]   src/third_party/webrtc
[1:16:51]   src/v8
[1:16:51]   src/third_party/angle/third_party/VK-GL-CTS/src
[1:16:51]   src/third_party/angle/third_party/vulkan-validation-layers/src
[1:17:01] Still working on:
[1:17:01]   src/third_party/icu
[1:17:01]   src/third_party/skia
[1:17:01]   src/third_party/sqlite/src
[1:17:01]   src/third_party/swiftshader
[1:17:01]   src/third_party/webrtc
[1:17:01]   src/v8
[1:17:01]   src/third_party/angle/third_party/VK-GL-CTS/src
[1:17:01]   src/third_party/angle/third_party/vulkan-validation-layers/src

micwoj92 commented on 2021-04-07 08:24

use electron9-bin

marcogmonteiro commented on 2021-04-07 08:22

I have this package listed as a dependency in a few other packages. In the last 2 weeks all of those packages can't be updated because of this dependency. Is there any way I can circumvent this issue?

andrfgs commented on 2021-04-02 22:44

The reason this package is broken is due to pure stupidity in the upstream to use python in the ninja build script (or maybe its even ninja build's fault) instead of the correct and non ambiguous python2 which is the correct form, since it is very common for most users to have both versions of Python (2 and 3) installed, given that Python3 completely broke compatibility with Python2 resulting in a huge fragmentation.

Thanks for @newsboost for mentioned the bug.

voidspawn commented on 2021-03-24 15:13

i also get the same error as keepitsimpleengr [5341/32588] ACTION //third_party/devtools-frontend/src:build_release_devtools(//build/toolchain/linux/unbundle:default) ninja: build stopped: subcommand failed. <font color="#FF5555">==> ERROR:</font> A failure occurred in build().

keepitsimpleengr commented on 2021-03-23 22:00

12 warnings generated.
[5332/32588] CC obj/third_party/electron_node/deps/llhttp/llhttp/llhttp.o
<font color="#AA0000">FAILED: </font>obj/third_party/electron_node/deps/llhttp/llhttp/llhttp.o 
clang -MMD -MF obj/third_party/electron_node/deps/llhttp/llhttp/llhttp.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=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=\"n346557-4e0d9925-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/electron_node/deps/llhttp/include -I../.. -Igen -I../../third_party/electron_node/deps/llhttp/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -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 -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -m64 -march=x86-64 -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-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-pointer-to-int-cast -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -Xclang -debug-info-kind=constructor -ggnu-pubnames -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-unreachable-code -std=c11 -Wno-implicit-fallthrough -D_FORTIFY_SOURCE=2 -DU_DEFINE_FALSE_AND_TRUE=1 -march=native -O2 -pipe -fstack-protector-strong -fno-plt   -Wno-unknown-warning-option -c ../../third_party/electron_node/deps/llhttp/src/llhttp.c -o obj/third_party/electron_node/deps/llhttp/llhttp/llhttp.o
../../third_party/electron_node/deps/llhttp/src/llhttp.c:1671:51: <font color="#FF5555">error: </font>use of undeclared identifier 'llparse_blob7'
        ranges = _mm_loadu_si128((__m128i const*) llparse_blob7);
<font color="#55FF55">                                                  ^</font>
../../third_party/electron_node/deps/llhttp/src/llhttp.c:1955:51: <font color="#FF5555">error: </font>use of undeclared identifier 'llparse_blob9'
        ranges = _mm_loadu_si128((__m128i const*) llparse_blob9);
<font color="#55FF55">                                                  ^</font>
../../third_party/electron_node/deps/llhttp/src/llhttp.c:1967:51: <font color="#FF5555">error: </font>use of undeclared identifier 'llparse_blob10'
        ranges = _mm_loadu_si128((__m128i const*) llparse_blob10);
<font color="#55FF55">                                                  ^</font>
../../third_party/electron_node/deps/llhttp/src/llhttp.c:2705:51: <font color="#FF5555">error: </font>use of undeclared identifier 'llparse_blob1'
        ranges = _mm_loadu_si128((__m128i const*) llparse_blob1);
<font color="#55FF55">                                                  ^</font>
4 errors generated.
[5341/32588] ACTION //third_party/devtools-frontend/src:build_release_devtools(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
<font color="#FF5555">==> ERROR:</font> A failure occurred in build().
    Aborting...

===== persistent fails

jonathon commented on 2021-03-23 17:34

Given the package works for a good number of people (including an Arch TU when it was in community) I don't understand why some people are having problems (and yet also persist with using yay). If Python was an issue then it would be an issue for me and everyone else who can build the package (and have reported success).

As it is, I don't use this package so someone else can adopt it.

newsboost commented on 2021-03-23 16:18

Q: "jonathon commented on 2021-03-22 20:00": What is the problem with the PKGBUILD?

A: many people have written about a python2/python3 problem, myself included. Every time we've been told "no there's no problem - nothing at all - absolutely NO problem here". Now eschwartz answered more specifically, what we couldn't exactly (at least I couldn't, I just wrote the error log, output messages etc) on 2021-03-23 13:28:

The complaints about python are actually correct. I haven't tried building this and I don't know or care about the difference between AUR helpers and makepkg, but just eyeballing the PKGBUILD I can see it modified $PATH in the prepare() function and expects that to persist into the build() function.

This is a common mistake people make, and breaks a core makepkg feature:

eschwartz commented on 2021-03-23 13:28

The complaints about python are actually correct. I haven't tried building this and I don't know or care about the difference between AUR helpers and makepkg, but just eyeballing the PKGBUILD I can see it modified $PATH in the prepare() function and expects that to persist into the build() function.

This is a common mistake people make, and breaks a core makepkg feature:

makepkg --nobuild && makepkg --noextract

vosferatu commented on 2021-03-23 09:47

yarn install v1.22.10
$ node -e 'process.exit(0)'
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-config-standard@12.0.0" has unmet peer dependency "eslint-plugin-promise@>=4.0.0".
[4/4] Building fresh packages...
Done in 35.71s.
Applying local patches...
patching file extensions/browser/install/crx_install_error.cc
patching file content/browser/service_worker/service_worker_container_host.cc
Hunk #1 succeeded at 713 (offset 44 lines).
patching file content/browser/service_worker/service_worker_object_host_unittest.cc
patching file chrome/browser/search/background/ntp_backgrounds.h
patching file third_party/webrtc/call/rtx_receive_stream.h
patching file third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
patching file ui/gfx/linux/drm_util_linux.h
patching file media/base/media.cc
patching file third_party/skia/src/ports/SkFontHost_FreeType.cpp
patching file sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
patching file sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
patching file sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
patching file sandbox/linux/services/syscall_wrappers.cc
patching file sandbox/linux/services/syscall_wrappers.h
patching file components/autofill/core/browser/address_rewriter.cc
patching file third_party/blink/renderer/core/html/trust_token_attribute_parsing.h
patching file chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc
Hunk #1 succeeded at 5 with fuzz 3.
patching file ui/accessibility/ax_tree.cc
patching file ui/accessibility/ax_tree.h
patching file third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
Hunk #1 succeeded at 35 (offset -3 lines).
patching file third_party/blink/renderer/platform/wtf/hash_iterators.h
patching file third_party/blink/renderer/platform/wtf/hash_table.h
Hunk #1 succeeded at 2203 (offset -1 lines).
patching file src/objects/js-number-format.cc
Hunk #1 succeeded at 1239 (offset -2 lines).
Hunk #2 succeeded at 1276 (offset -2 lines).
Hunk #3 succeeded at 1398 (offset -2 lines).
Hunk #4 succeeded at 1418 (offset -2 lines).
Hunk #5 succeeded at 1447 (offset -2 lines).
Hunk #6 succeeded at 1467 (offset -2 lines).
patching file third_party/electron_node/BUILD.gn
patching file electron/default_app/default_app.ts
patching file electron/filenames.gni
Patching Chromium for using system libraries...
==> Sources are ready.
==> Making package: electron9 9.4.4-2 (Mon 22 Mar 2021 03:16:55 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Done. Made 12678 targets from 2233 files in 12333ms
ninja: Entering directory `out/Release'
[137/32588] CXX obj/base/base/process_metrics_posix.o
../../base/process/process_metrics_posix.cc:114:27: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
  struct mallinfo minfo = mallinfo();
                          ^
/usr/include/malloc.h:118:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:31:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/sys/cdefs.h:261:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.
[1077/32588] ACTION //components/resources:about_credits(//build/toolchain/linux/unbundle:default)
FAILED: gen/components/resources/about_credits.html 
python ../../tools/licenses.py --target-os=linux --depfile gen/components/resources/about_credits.d credits gen/components/resources/about_credits.html
Traceback (most recent call last):
  File "/home/vosferatu/.cache/yay/electron9/src/src/out/Release/../../tools/licenses.py", line 809, in <module>
    sys.exit(main())
  File "/home/vosferatu/.cache/yay/electron9/src/src/out/Release/../../tools/licenses.py", line 791, in main
    if not GenerateCredits(args.file_template, args.entry_template,
  File "/home/vosferatu/.cache/yay/electron9/src/src/out/Release/../../tools/licenses.py", line 717, in GenerateCredits
    build_utils.WriteDepfile(depfile, output_file,
  File "/home/vosferatu/.cache/yay/electron9/src/src/build/android/gyp/util/build_utils.py", line 619, in WriteDepfile
    inputs = ComputePythonDependencies() + inputs
  File "/home/vosferatu/.cache/yay/electron9/src/src/build/android/gyp/util/build_utils.py", line 556, in ComputePythonDependencies
    non_system_module_paths = [
  File "/home/vosferatu/.cache/yay/electron9/src/src/build/android/gyp/util/build_utils.py", line 556, in <listcomp>
    non_system_module_paths = [
  File "/usr/lib/python3.9/posixpath.py", line 374, in abspath
    path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
[1082/32588] CXX obj/pdf/features/pdf_features.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: electron9