Package Details: phantomjs 2.1.1-17

Git Clone URL: https://aur.archlinux.org/phantomjs.git (read-only, click to copy)
Package Base: phantomjs
Description: Headless WebKit with JavaScript API
Upstream URL: https://www.phantomjs.org/
Licenses: BSD, LGPL, MIT
Submitter: yan12125
Maintainer: None
Last Packager: micwoj92
Votes: 27
Popularity: 0.000002
First Submitted: 2018-01-24 14:25 (UTC)
Last Updated: 2024-03-23 07:02 (UTC)

Pinned Comments

yan12125 commented on 2018-08-12 11:22 (UTC) (edited on 2019-11-19 03:17 (UTC) by yan12125)

FAQ

  • error while loading shared libraries: libicui18n.so.61: cannot open shared object file: No such file or directory

You can either to reinstall this package afte upgrading the system to ICU 62, or install the prebuilt package listed below.

  • Building takes too long time!

A: PhantomJS ships with its own Qt and QtWebKit. Just be patient.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

karcher commented on 2018-06-27 14:47 (UTC) (edited on 2018-07-29 21:28 (UTC) by eschwartz)

@yan12125: Do you mean the phantomjs folder in the AUR Helper cache?

I have namely deleted this folder and tried again. Now I'm getting this error:

...
Creating hashtable for parser/Keywords.table
python /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/create_regex_tables > generated/RegExpJitTables.h
Creating JIT stubs for jit/JITStubs.cpp 
python /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/KeywordLookupGenerator.py parser/Keywords.table > generated/KeywordLookup.h
ruby /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/offlineasm/asm.rb /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm LLIntOffsetsExtractor generated/LLIntAssembly.h
python /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/itab.py disassembler/udis86/optable.xml --outputDir generated
offlineasm: Parsing /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm and LLIntOffsetsExtractor and creating assembly file generated/LLIntAssembly.h.
Traceback (most recent call last):
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/itab.py", line 360, in <module>
    main()
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/itab.py", line 355, in main
    optableXmlParser.parse( args[ 0 ], generator.addInsnDef )
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/ud_optable.py", line 83, in parse
    fn( prefixes, mnemonic, opcodes, operands, vendor )
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 217, in addInsnDef
    vendor=vendor)
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 157, in __init__
    self.opcext[arg] = self.OpcExtMap[arg](val)
  File "/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 120, in <lambda>
    '/m'     : lambda v: "%02x" % (int(v) / 32),
TypeError: %x format: an integer is required, not float
make[2]: *** [Makefile.JavaScriptCore.DerivedSources:706: generated/udis86_itab.c] Error 1
make[2]: *** Waiting for unfinished jobs....
offlineasm: Including file /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
offlineasm: Including file /home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
offlineasm: Assembly file generated/LLIntAssembly.h successfully generated.
make[2]: Leaving directory '/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
make[1]: *** [Makefile.JavaScriptCore:70: sub-DerivedSources-pri-make_first-ordered] Error 2
make[1]: Leaving directory '/home/user/.cache/aurman/phantomjs/src/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
make: *** [Makefile:92: sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2

ERROR: Failed to build PhantomJS! Building Qt WebKit failed.
==> ERROR: A failure occurred in build().
    Aborting...
2018-06-27 16:39:46,658 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed

yan12125 commented on 2018-06-27 05:14 (UTC)

karcher: most likely your phantomjs folder is not clean. Try removing it and build again.

karcher commented on 2018-06-26 21:47 (UTC)

I'm getting following error: ... Reset branch 'makepkg' ==> Starting prepare()... patching file Source/JavaScriptCore/API/JSStringRef.h Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file Source/JavaScriptCore/API/JSStringRef.h.rej patching file Source/WebKit2/Shared/API/c/WKString.h Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file Source/WebKit2/Shared/API/c/WKString.h.rej ==> ERROR: A failure occurred in prepare(). Aborting... 2018-06-26 23:21:45,587 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed

boris220 commented on 2018-05-14 15:01 (UTC)

@yan12125: my bad, thanks for the hint and for maintaining this package!

yan12125 commented on 2018-05-14 13:43 (UTC)

@boris220: You need to install the base-devel group, which is an implicit build time dependency for all AUR packages. See https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started

boris220 commented on 2018-05-14 13:37 (UTC)

There is a make dependency missing in the PKGBUILD: bison is needed to build qtwebkit

yan12125 commented on 2018-04-18 05:42 (UTC)

Prebuilt package: https://yan12125.keybase.pub/arch-repo/yan12125/phantomjs-2.1.1-11-x86_64.pkg.tar.xz

yan12125 commented on 2018-04-18 05:38 (UTC)

@andreymal: Most likely there's something wrong in your toolchain/environment. It's suggested to always build this package in clean chroots.

FYI:

$ du /usr/bin/phantomjs 
50M     /usr/bin/phantomjs

andreymal commented on 2018-04-17 21:21 (UTC) (edited on 2018-04-17 21:21 (UTC) by andreymal)

$ du -h /usr/bin/phantomjs
1,3G    /usr/bin/phantomjs

WTF

yan12125 commented on 2018-04-17 12:40 (UTC)

sanduhrs flagged phantomjs out-of-date on 2018-04-17 for the following reason:

Latest release is 2.1.3
<https://github.com/ariya/phantomjs/releases>

READ COMMENTS BELOW. NOW.