Opened 6 years ago
Last modified 6 years ago
#56777 assigned defect
phantomjs fails to build
Reported by: | tacbio (TacBio) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.3 |
Keywords: | Cc: | ||
Port: | phantomjs |
Description
Hi all, phantomjs fails to build.
Xcode 9.4.1 Mac OS 10.13.5 MacPorts 2.5.3
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq libQt5Widgets.a .obj/qmacstyle_mac.o .obj/qmenu_mac.o .obj/qmacnativewidget_mac.o .obj/qmaccocoaviewcontainer_mac.o .obj/qscroller_mac.o .obj/qaction.o .obj/qactiongroup.o .obj/qapplication.o .obj/qwidgetbackingstore.o .obj/qboxlayout.o .obj/qformlayout.o .obj/qgridlayout.o .obj/qlayout.o .obj/qlayoutengine.o .obj/qlayoutitem.o .obj/qshortcut.o .obj/qstackedlayout.o .obj/qtooltip.o .obj/qwhatsthis.o .obj/qwidget.o .obj/qwidgetaction.o .obj/qgesture.o .obj/qstandardgestures.o .obj/qgesturerecognizer.o .obj/qgesturemanager.o [...many more...] :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qscroller_mac.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qstylepainter.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsgridlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsitem.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsitemanimation.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayout_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayoutitem.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslinearlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsproxywidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscene.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscene_bsp.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscenebsptreeindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicssceneevent.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicssceneindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscenelinearindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicstransform.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsview.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicswidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicswidget_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayoutstyleinfo.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsgridlayoutengine.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsanchorlayout_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsanchorlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicseffect.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qpixmapfilter.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qwidgetbackingstore_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsitemanimation.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsscenelinearindex_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicswidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsanchorlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicseffect.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicseffect_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qpixmapfilter_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s libQt5Widgets.a :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qscroller_mac.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qstylepainter.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsgridlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsitem.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsitemanimation.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayout_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayoutitem.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslinearlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsproxywidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscene.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscene_bsp.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscenebsptreeindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicssceneevent.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicssceneindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsscenelinearindex.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicstransform.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsview.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicswidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicswidget_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicslayoutstyleinfo.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsgridlayoutengine.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsanchorlayout_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicsanchorlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qgraphicseffect.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(qpixmapfilter.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qwidgetbackingstore_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsitemanimation.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsscenelinearindex_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicswidget.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicsanchorlayout.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicseffect.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qgraphicseffect_p.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libQt5Widgets.a(moc_qpixmapfilter_p.o) has no symbols :info:build rm -f ../../lib/libQt5Widgets.a :info:build mv -f libQt5Widgets.a ../../lib/ :info:build make: *** [sub-src-make_first] Error 2 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-2.0.0" && ./build.sh --confirm --jobs 4 :info:build Exit code: 2 :error:build Failed to build phantomjs: command execution failed :debug:build Error code: CHILDSTATUS 35884 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_phantomjs/phantomjs/main.log for details.
Attachments (2)
Change History (8)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to stromnov |
---|---|
Port: | phantomjs added |
Status: | new → assigned |
comment:2 Changed 6 years ago by tacbio (TacBio)
sure, will do next time.
i see that #56105 had similar issues 3 month ago. afai see, there was no solution found.
does it in your opinion make sense to wait or should I scrap the idea to use phantomjs?
thanks
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Please attach the main.log file, compressed first if large.
comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Note that phantomjs is no longer being updated by its developers.
The MacPorts version of phantomjs is slightly out of date. We have 2.0.0, while we should update to the latest version, 2.1.1, but the maintainer of the port hasn't done so in the past 2 years.
Updating to 2.1.1 won't fix the problem reported in #56105, since it relates to the 10.13 SDK, which didn't exist at the time that 2.1.1 was released.
We won't know if the problem you're seeing is the same as #56105 or something different until we see your log.
Changed 6 years ago by korseby (korseby)
comment:6 Changed 6 years ago by korseby (korseby)
Hi all,
building it on macOS 10.14 Mojave results in a different error. Maybe you can fix this easier. main.log is attached.
:info:build # include <utility> :info:build ^~~~~~~~~ :info:build 1 warning and 1 error generated. :info:build make: *** [project.o] Error 1 :info:build Command failed: cd "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-2.0.0" && ./build.sh --confirm --jobs 8 :info:build Exit code: 2 :error:build Failed to build phantomjs: command execution failed :debug:build Error code: CHILDSTATUS 41344 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
In the future, please fill in the Port field and add the port maintainer(s) to Cc (
port info --maintainers phantomjs
), if any.