Package Details: electron4 4.2.12-6

Git Clone URL: https://aur.archlinux.org/electron4.git (read-only, click to copy)
Package Base: electron4
Description: Build cross platform desktop apps with web technologies
Upstream URL: https://electronjs.org/
Keywords: electron electron4 github microsoft runtime
Licenses: custom, MIT
Submitter: mkroening
Maintainer: joaquinito2051
Last Packager: mkroening
Votes: 4
Popularity: 0.000000
First Submitted: 2020-06-12 08:10 (UTC)
Last Updated: 2020-06-12 08:10 (UTC)

Dependencies (30)

Sources (12)

Latest Comments

FabioLolix commented on 2021-08-01 10:20 (UTC)

gn-m76 is missing as makedepends

bu.domino commented on 2021-02-12 13:19 (UTC)

Still doesn't compile due to std::size_t

Use electron4-bin instead for the time being

Chiggins commented on 2020-11-05 18:15 (UTC)

ERROR at //build/util/branding.gni:27:11: Script returned non-zero exit code.
_result = exec_script("version.py",
          ^----------
Current dir: /home/chiggins/.cache/yay/electron4/src/src/out/Release/
Command: python /home/chiggins/.cache/yay/electron4/src/src/build/util/version.py -f ../../chrome/app/theme/chromium/BRANDING -t full_name = "@PRODUCT_FULLNAME@" short_name = "@PRODUCT_SHORTNAME@" bundle_id = "@MAC_BUNDLE_ID@" creator_code = "@MAC_CREATOR_CODE@" installer_full_name = "@PRODUCT_INSTALLER_FULLNAME@" installer_short_name = "@PRODUCT_INSTALLER_SHORTNAME@" team_id = "@MAC_TEAM_ID@" 
Returned 1.
stderr:

  File "/home/chiggins/.cache/yay/electron4/src/src/build/util/version.py", line 71
    print repr(key), repr(val)
          ^
SyntaxError: invalid syntax

See //ui/base/BUILD.gn:10:1: whence it was imported.
import("//build/util/branding.gni")
^---------------------------------
See //BUILD.gn:73:5: which caused the file to be included.
    "//ui/base:ui_base_unittests",
    ^----------------------------
==> ERROR: A failure occurred in build().
    Aborting...
error making: electron4

ruy16109 commented on 2020-09-02 18:16 (UTC)

Under makechrootpkg, the packagin hangs here:

WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
1>________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress file:///build/electron4/src/electron /build/electron4/src/src/_gclient_electron__3ppss' in '/build/electron4/src'
1>Cloning into '/build/electron4/src/src/_gclient_electron__3ppss'...
1>remote: Enumerating objects: 198656, done.        
1>remote: Counting objects: 100% (198656/198656), done.        
1>remote: Compressing objects: 100% (48937/48937), done.        
1>remote: Total 198656 (delta 146746), reused 198644 (delta 146743), pack-reused 0        
1>Receiving objects: 100% (198656/198656), 76.17 MiB | 11.95 MiB/s, done.
1>Resolving deltas: 100% (146746/146746), done.

hecsa commented on 2020-07-05 04:18 (UTC) (edited on 2020-07-05 04:24 (UTC) by hecsa)

Hi, When trying to update electron4 4.2.12-5 to 4.2.12-6, I get this error:

clang++ -MMD -MF obj/third_party/angle/libANGLE/Platform.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"337439-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_OPENGL -DANGLE_USE_X11 -DANGLE_ENABLE_OPENGL_NULL -DANGLE_ENABLE_VULKAN -DANGLE_ENABLE_NULL -DLIBANGLE_IMPLEMENTATION -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XCB_KHX -DAPI_NAME=\"Vulkan\" -DANGLE_VK_DATA_DIR=\"angledata\" -DANGLE_VK_ICD_JSON=\"angledata/VkICD_mock_icd.json\" -DAPI_NAME=\"Vulkan\" -DHAVE_SECURE_GETENV -I../../third_party/angle/src/third_party/khronos -Igen/angle -I../../third_party/angle/include -I../../third_party/angle/src -I../../third_party/angle/src/common/third_party/base -I../../third_party/angle/third_party/vulkan-headers/src/include -I../../third_party/angle/include -I../../third_party/angle/src -I../../third_party/angle/include -I../../third_party/angle/src -I../../third_party/angle/include -I../../third_party/angle/third_party/glslang/src -I../../third_party/angle/third_party/glslang/src/glslang/Public -Igen/third_party/angle/third_party/vulkan-loader/angle/vulkan -I../../third_party/angle/third_party/vulkan-headers/src/include -I../../third_party/angle/third_party/vulkan-loader/src/loader -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -m64 -march=x86-64 -Wall -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-address-of-packed-member -Wno-nonportable-include-path -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -ggnu-pubnames -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Winconsistent-missing-override -Wunneeded-internal-declaration -Wnon-virtual-dtor -std=gnu++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -c ../../third_party/angle/src/libANGLE/Platform.cpp -o obj/third_party/angle/libANGLE/Platform.o In file included from ../../third_party/angle/src/libANGLE/Platform.cpp:9:
../../third_party/angle/include/platform/Platform.h:239:35: error: unknown type name 'size_t'; did you mean 'std::size_t'?
size_t programSize,
^~~~~~
std::size_t
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/x86_64-pc-linux-gnu/bits/c++config.h:260:26: note: 'std::size_t' declared here typedef SIZE_TYPE size_t;
^
In file included from ../../third_party/angle/src/libANGLE/Platform.cpp:9:
../../third_party/angle/include/platform/Platform.h:243:33: error: unknown type name 'size_t'; did you mean 'std::size_t'?
size_t programSize,
^~~~~~ std::size_t /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/x86_64-pc-linux-gnu/bits/c++config.h:260:26: note: 'std::size_t' declared here typedef SIZE_TYPE size_t; ^ 2 errors generated. [3272/15912] CXX obj/third_party/angle/libANGLE/MemoryProgramCache.o [3273/15912] CXX obj/third_party/angle/libANGLE/Program.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

Any ideas about how to solve it? Thanks in advance, and best regards. HeCSA.