Opened 9 months ago

Closed 9 months ago

#69323 closed defect (duplicate)

webkit2-gtk +quartz build fails

Reported by: ShadSterling (Shad Sterling) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: dbevans (David B. Evans), mascguy (Christopher Nielsen)
Port: webkit2-gtk

Description

Nothing in the log looks to me like a build error, there are a few warnings from clang then ninja bails

:info:build [714/4296] /usr/bin/clang++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebDriver -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DLIBEXECDIR=\"/opt/local/libexec\" -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/DerivedSources/WebDriver -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/DerivedSources/ForwardingHeaders -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/DerivedSources -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/ThirdParty -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include/libsoup-2.4 -isystem /opt/local/include -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wno-noexcept-type -Wno-psabi -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -pipe -Os -DNDEBUG -I/opt/local/include -Wno-deprecated-declarations -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fno-strict-aliasing -fno-exceptions -fno-rtti -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13.0 -fPIE -std=c++17 -MD -MT Source/WebDriver/CMakeFiles/WebDriver.dir/Session.cpp.o -MF Source/WebDriver/CMakeFiles/WebDriver.dir/Session.cpp.o.d -o Source/WebDriver/CMakeFiles/WebDriver.dir/Session.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver/Session.cpp
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver/Session.cpp:611:87: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
:info:build         m_host->sendCommandToBackend("createBrowsingContext"_s, WTFMove(parameters), [this, protectedThis = protectedThis.copyRef(), completionHandler = WTFMove(completionHandler)](SessionHost::CommandResponse&& response) {
:info:build                                                                                       ^~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver/Session.cpp:1553:88: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
:info:build     m_host->sendCommandToBackend("evaluateJavaScriptFunction"_s, WTFMove(parameters), [this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)](SessionHost::CommandResponse&& response) {
:info:build                                                                                        ^~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver/Session.cpp:1695:88: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
:info:build     m_host->sendCommandToBackend("evaluateJavaScriptFunction"_s, WTFMove(parameters), [this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)](SessionHost::CommandResponse&& response) {
:info:build                                                                                        ^~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/WebDriver/Session.cpp:1797:88: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
:info:build     m_host->sendCommandToBackend("setFilesForInputFileUpload"_s, WTFMove(parameters), [this, protectedThis = makeRef(*this), elementID, completionHandler = WTFMove(completionHandler)](SessionHost::CommandResponse&& response) mutable {
:info:build                                                                                        ^~~~~
:info:build 4 warnings generated.
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build" && ninja -j16 all -j16 -v
:info:build Exit code: 1
:error:build Failed to build webkit2-gtk: command execution failed
:debug:build Error code: CHILDSTATUS 53320 1

Attachments (1)

main.log (2.5 MB) - added by ShadSterling (Shad Sterling) 9 months ago.

Change History (2)

Changed 9 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

I see this in the log:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.28.2/Source/JavaScriptCore/offlineasm/config.rb:29:in `<top (required)>': undefined method `exists?' for class File (NoMethodError)
:info:build if sdkRootDirectory and File.exists?(sdkRootDirectory)
:info:build                             ^^^^^^^^
:info:build Did you mean?  exist?

Duplicate of #68705.

Note: See TracTickets for help on using tickets.