[MacPorts] #56105: phantomjs fails to build

MacPorts noreply at macports.org
Tue Mar 20 09:19:09 UTC 2018


#56105: phantomjs fails to build
-----------------------+-----------------------
 Reporter:  korseby    |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:  phantomjs  |       Port:  phantomjs
-----------------------+-----------------------
 Hi all,

 phantomjs fails to build on latest MacPorts on macOS 10.13.3.

 Output below:


 {{{
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -c -pipe -O2 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
 -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden
 -Wall -W -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW
 -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE
 -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE
 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
 -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB
 -DQT_PLATFORMSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
 -I../../../../mkspecs/macx-clang -I.
 -I../../../../include/QtPrintSupport/5.3.0
 -I../../../../include/QtPrintSupport/5.3.0/QtPrintSupport
 -I../../../../include -I../../../../include/QtPrintSupport
 -I../../../../include/QtWidgets/5.3.0
 -I../../../../include/QtWidgets/5.3.0/QtWidgets
 -I../../../../include/QtPlatformSupport
 -I../../../../include/QtPlatformSupport/5.3.0
 -I../../../../include/QtPlatformSupport/5.3.0/QtPlatformSupport
 -I../../../../include/QtWidgets -I../../../../include/QtGui/5.3.0
 -I../../../../include/QtGui/5.3.0/QtGui -I../../../../include/QtCore/5.3.0
 -I../../../../include/QtCore/5.3.0/QtCore -I../../../../include/QtGui
 -I../../../../include/QtCore -I.moc qcocoaaccessibility.mm -o
 .obj/qcocoaaccessibility.o
 :info:build qcocoahelpers.mm:652:39: error: use of undeclared identifier
 'InvalidContext'
 :info:build     require_action(inContext != NULL, InvalidContext, err =
 paramErr);
 :info:build                                       ^
 :info:build qcocoahelpers.mm:653:38: error: use of undeclared identifier
 'InvalidBounds'
 :info:build     require_action(inBounds != NULL, InvalidBounds, err =
 paramErr);
 :info:build                                      ^
 :info:build qcocoahelpers.mm:654:37: error: use of undeclared identifier
 'InvalidImage'
 :info:build     require_action(inImage != NULL, InvalidImage, err =
 paramErr);
 :info:build                                     ^
 :info:build 3 errors generated.
 :info:build make[4]: *** [.obj/qcocoahelpers.o] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build make[3]: *** [sub-cocoa-make_first] Error 2
 :info:build make[2]: *** [sub-platforms-make_first] Error 2
 :info:build make[1]: *** [sub-plugins-make_first] Error 2
 :info:build make: *** [sub-src-make_first] Error 2
 :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 4
 :info:build Exit code: 2
 :error:build Failed to build phantomjs: command execution failed
 :debug:build Error code: CHILDSTATUS 23407 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"

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56105>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list