Opened 12 years ago
Last modified 12 years ago
#37764 new defect
PhantomJS 1.8.0 compilation fails on Leopard
Reported by: | phantom@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | phantomjs |
Description
'port install phantomjs' was run on a fresh MacPorts installation on Mac OSX Server 10.5.8 (Leopard). Ran 'port clean' then 'port install' as part of the Ticket Guidelines instructions and it still failed to compile (runs successfully for a long time though). Below is the last command and the error message(s) from the compiler:
:info:build g++ -c -pipe -fno-exceptions -Xarch_ppc -mmacosx-version-min=10.4 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fconstant-cfstrings -O3 -arch ppc -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -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 -DBUILDING_WEBKIT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_ZLIB=1 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DQT_NO_CAST_TO_ASCII -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../../../mkspecs/macx-g++ -I. -I../../../../../../include/QtCore -I../../../../../../include/QtNetwork -I../../../../../../include/QtGui -I../../../../../../include -I../../JavaScriptCore -I../../../Source -I../../ThirdParty -I../../JavaScriptCore/assembler -I../../JavaScriptCore/bytecode -I../../JavaScriptCore/bytecompiler -I../../JavaScriptCore/heap -I../../JavaScriptCore/dfg -I../../JavaScriptCore/debugger -I../../JavaScriptCore/interpreter -I../../JavaScriptCore/jit -I../../JavaScriptCore/parser -I../../JavaScriptCore/profiler -I../../JavaScriptCore/runtime -I../../JavaScriptCore/wtf -I../../JavaScriptCore/wtf/gobject -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.8.0/src/qt/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -I../../JavaScriptCore/wtf/unicode -I../../JavaScriptCore/yarr -I../../JavaScriptCore/API -I../../JavaScriptCore/ForwardingHeaders -I../../JavaScriptCore/generated -I../../WebCore/bridge/qt -I../../WebCore/page/qt -I../../WebCore/platform/graphics/qt -I../../WebCore/platform/network/qt -I../../WebCore/platform/qt -IApi -IWebCoreSupport -I../../WebCore -I../../WebCore/accessibility -I../../WebCore/bindings -I../../WebCore/bindings/generic -I../../WebCore/bridge -I../../WebCore/css -I../../WebCore/dom -I../../WebCore/dom/default -I../../WebCore/editing -I../../WebCore/fileapi -I../../WebCore/history -I../../WebCore/html -I../../WebCore/html/canvas -I../../WebCore/html/parser -I../../WebCore/html/shadow -I../../WebCore/inspector -I../../WebCore/loader -I../../WebCore/loader/appcache -I../../WebCore/loader/archive -I../../WebCore/loader/cache -I../../WebCore/loader/icon -I../../WebCore/mathml -I../../WebCore/notifications -I../../WebCore/page -I../../WebCore/page/animation -I../../WebCore/platform -I../../WebCore/platform/animation -I../../WebCore/platform/audio -I../../WebCore/platform/graphics -I../../WebCore/platform/graphics/filters -I../../WebCore/platform/graphics/filters/arm -I../../WebCore/platform/graphics/texmap -I../../WebCore/platform/graphics/transforms -I../../WebCore/platform/image-decoders -I../../WebCore/platform/leveldb -I../../WebCore/platform/mock -I../../WebCore/platform/network -I../../WebCore/platform/sql -I../../WebCore/platform/text -I../../WebCore/platform/text/transcoder -I../../WebCore/plugins -I../../WebCore/rendering -I../../WebCore/rendering/mathml -I../../WebCore/rendering/style -I../../WebCore/rendering/svg -I../../WebCore/storage -I../../WebCore/svg -I../../WebCore/svg/animation -I../../WebCore/svg/graphics -I../../WebCore/svg/graphics/filters -I../../WebCore/svg/properties -I../../WebCore/testing -I../../WebCore/webaudio -I../../WebCore/websockets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.8.0/src/qt/src/3rdparty/webkit/Source/WebCore/wml -I../../WebCore/workers -I../../WebCore/xml -I../../WebCore/bridge/jsc -I../../WebCore/bindings/js -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.8.0/src/qt/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization -I../../WebCore/bridge/c -I../../WebCore/testing/js -I../../WebCore/generated -I../../JavaScriptCore -I../../../Source -I../../ThirdParty -I../../JavaScriptCore/assembler -I../../JavaScriptCore/bytecode -I../../JavaScriptCore/bytecompiler -I../../JavaScriptCore/heap -I../../JavaScriptCore/dfg -I../../JavaScriptCore/debugger -I../../JavaScriptCore/interpreter -I../../JavaScriptCore/jit -I../../JavaScriptCore/parser -I../../JavaScriptCore/profiler -I../../JavaScriptCore/runtime -I../../JavaScriptCore/wtf -I../../JavaScriptCore/wtf/gobject -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.8.0/src/qt/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -I../../JavaScriptCore/wtf/unicode -I../../JavaScriptCore/yarr -I../../JavaScriptCore/API -I../../JavaScriptCore/ForwardingHeaders -I../../JavaScriptCore/generated -I../../../Source -I../../../include -I/include/QtWebKit -I/include -I../../../Source -I../../../include -I/include/QtWebKit -I/include -I../../../Source -I../../../include -I../include/QtWebKit -I../include -I../../../../sqlite -I../../../../../../include/QtWebKit -I.rcc/release-static -I.moc/release-static -o .obj/release-static/Error.o ../../JavaScriptCore/runtime/Error.cpp :info:build ../../JavaScriptCore/runtime/Error.cpp: In function â~@~XJSC::JSObject* JSC::addErrorInfo(JSC::ExecState*, JSC::JSObject*, int, const JSC::SourceCode&)â~@~Y: :info:build ../../JavaScriptCore/runtime/Error.cpp:151: error: â~@~XReturnAddressPtrâ~@~Y was not declared in this scope :info:build ../../JavaScriptCore/runtime/Error.cpp:151: error: expected `;' before â~@~Xpcâ~@~Y :info:build ../../JavaScriptCore/runtime/Error.cpp:190: error: â~@~Xpcâ~@~Y was not declared in this scope :info:build ../../JavaScriptCore/runtime/Error.cpp:206: error: â~@~Xpcâ~@~Y was not declared in this scope :info:build ../../JavaScriptCore/runtime/Error.cpp:206: error: â~@~Xclass JSC::ExecStateâ~@~Y has no member named â~@~XreturnPCâ~@~Y :info:build make[3]: *** [.obj/release-static/Error.o] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build make[2]: *** [release] Error 2 :info:build make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2 :info:build make: *** [sub-webkit-make_default-ordered] Error 2 :info:build ./build.sh: line 90: src/qt/bin/qmake: No such file or directory :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.8.0" && ./build.sh --confirm --jobs 2 :info:build Exit code: 1 :error:build org.macports.build for port phantomjs returned: command execution failed :debug:build Error code: CHILDSTATUS 47236 1 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for phantomjs: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port phantomjs for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/main.log
All dependencies built without any problems. Looks like it might be an upstream error. Ironically, the error occurs due to an error in Error.cpp.
Attachments (1)
Change History (3)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Changed 12 years ago by phantom@…
Note: See
TracTickets for help on using
tickets.
Please attach the complete main.log after cleaning the port.