Advertisement
ItachiSan

Electron 1.8.X build error on ArchLinux

Apr 11th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.90 KB | None | 0 0
  1. $ ../python2-path/python script/build.py -c Release
  2. ninja: Entering directory `out/R'
  3. [1/1] LINK electron
  4. FAILED: electron
  5. /usr/bin/clang++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-z,noexecstack -Wl,-z,noexecstack -Wl,-rpath=\$ORIGIN -rdynamic -Wl,--export-dynamic -pthread --sysroot=/ -L//usr/lib/libfakeroot -Wl,-rpath-link=//usr/lib/libfakeroot -m64 -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -flto -fuse-ld=gold -Wl,-plugin-opt,O1 -Wl,-plugin-opt,-function-sections -Wl,--icf=all -Wl,-rpath-link=lib/ -o electron -Wl,--start-group obj/atom/app/electron.atom_main.o obj/libelectron_lib.a obj/brightray/libbrightray.a obj/vendor/breakpad/libbreakpad_client.a -Wl,--end-group lib/libnode.so -Wl,--start-group /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libangle.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libbase.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libcc.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libchromiumcontent.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libcomponents.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libmedia.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libnet.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libpdfium.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libppapi.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libservices.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libskia.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libwebkit.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libwebkitbindings.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libwebkitcore.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libwebkitmodules.a /tmp/tmp.vmO4fjNl8K/src/electron/vendor/libchromiumcontent/dist/main/static_library/libwebrtc.a -Wl,--end-group -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -ldbus-1 -lX11-xcb -lxcb -lXi -lXcursor -lXdamage -lXrandr -lXcomposite -lXext -lXfixes -lXrender -lX11 -lXtst -lXss -lgconf-2 -lgmodule-2.0 -lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lasound -lcap -lcups -lrt -ldl -lresolv -lfontconfig -lfreetype -lexpat -lavcodec -lavformat -lavutil -levent -lFLAC -lharfbuzz-icu -lharfbuzz -ljsoncpp -lminizip -lpng16 -lz -lpulse -lwebpdemux -lwebp -ljpeg -lre2 -lsnappy -latomic
  6. Called function is not the same type as the call!
  7.  invoke void @PK11_FreeSlot(%"class.brightray::ContentClient"* nonnull %46)
  8.          to label %52 unwind label %49, !dbg !1324769
  9. Called function is not the same type as the call!
  10.  invoke void @PK11_FreeSlot(%"class.brightray::ContentClient"* nonnull %53)
  11.          to label %59 unwind label %56, !dbg !1324792
  12. Called function is not the same type as the call!
  13.  invoke void @PK11_FreeSlot(%"class.brightray::ContentClient"* nonnull %73)
  14.          to label %79 unwind label %76, !dbg !1324818
  15. Called function is not the same type as the call!
  16.  invoke void @PK11_FreeSlot(%"class.brightray::ContentClient"* nonnull %82)
  17.          to label %90 unwind label %87, !dbg !1324842
  18. in function _ZN23CertificateManagerModel19GetCertDBOnIOThreadEPN7content15ResourceContextERKN4base8CallbackIFvSt10unique_ptrIS_St14default_deleteIS_EEELNS3_8internal8CopyModeE1ELNSA_10RepeatModeE1EEE
  19. LLVM ERROR: Broken function found, compilation aborted!
  20. clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
  21. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement