Hello, phantomjs maintainers!

I tried to build phantomjs from source and received error.

My system:

% uname -a

FreeBSD ae2srv.local 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 
06:55:27 UTC 2016     
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


I used commands:

# portsnap fetch update

# portmaster --packages lang/phantomjs


The error code (last lines from stdout):

clang++ -pthread 
-Wl,-rpath-link,/usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src/qt/qtbase/lib
 -o ../bin/phantomjs phantom.o  callback.o  webpage.o  webserver.o  main.o  
utils.o  networkaccessmanager.o  cookiejar.o  filesystem.o  system.o  env.o  
terminal.o  encoding.o  config.o  childprocess.o  repl.o  crashdump.o  
mongoose.o  linenoise.o  utf8.o  qcommandline.o  phantomjs_plugin_import.o  
qrc_phantomjs.o  qrc_ghostdriver.o  moc_phantom.o  moc_callback.o  
moc_webpage.o  moc_webserver.o  moc_networkaccessmanager.o  moc_cookiejar.o  
moc_filesystem.o  moc_system.o  moc_env.o  moc_terminal.o  moc_config.o  
moc_childprocess.o  moc_repl.o  moc_qcommandline.o   -L/usr/local/lib 
-L/usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src/qt/qtbase/lib 
-lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit 
-L/usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src/qt/qtbase/plugins/platforms
 -lqphantom -lQt5PlatformSupport -lQt5DBus -lgthread-2.0 -pthread -lglib-2.0 
-lintl -lXrender -lXext -lX11 -lm -lfontconfig
 -lfreetype -lEGL -lGL 
-L/usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src/qt/qtbase/plugins/imageformats
 -lqico -lQt5Gui 
-L/usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src/qt/qtbase/plugins/bearer 
-lqgenericbearer -lQt5Network -lQt5Core

/usr/bin/ld: undefined reference to symbol 
`_ZN8QPrinter12setPaperSizeEN17QPagedPaintDevice8PageSizeE@@Qt_5' (try adding 
-lQt5PrintSupport)

//usr/local/lib/libQt5PrintSupport.so.5: could not read symbols: Bad value

clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)

*** [../bin/phantomjs] Error code 1

make[3]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src

1 error

make[3]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.1.1/src

*** [sub-src-phantomjs-pro-make_first-ordered] Error code 2

make[2]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.1.1

1 error

make[2]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.1.1

ERROR: Failed to build PhantomJS! Building PhantomJS failed.

*** Error code 1

Stop.

make[1]: stopped in /usr/ports/lang/phantomjs

*** Error code 1

Stop.

make: stopped in /usr/ports/lang/phantomjs

===>>> make build failed for lang/phantomjs

===>>> Aborting update

===>>> Upgrade of pkgconf-1.2.2_1 to pkgconf-1.3.0 complete

===>>> You can restart from the point of failure with this command line:

       portmaster <flags> lang/phantomjs

This command has been saved to /tmp/portmasterfail.txt


Can you please review this error and make corrections to port files so port could be build?

Regards, Toem.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to