Opened 4 weeks ago

Closed 4 weeks ago

#71088 closed defect (duplicate)

webkit2-gtk: undefined method `exists?' for class File (NoMethodError) — at Version 1

Reported by: kwolcott Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: webkit2-gtk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

ninja: build stopped: subcommand failed.
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 -j8 all -j8 -v
Exit code: 1
Error: Failed to build webkit2-gtk: command execution failed

I've looked through the log file and I do not see any fatal error...

Change History (2)

comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Summary: webkit2-gtk: install via building from source fails:webkit2-gtk: undefined method `exists?' for class File (NoMethodError)

The error in the log is:

: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?
:info:build 	from <internal:/opt/local/lib/ruby3.3/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
:info:build 	from <internal:/opt/local/lib/ruby3.3/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
:info:build 	from /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/generate_settings_extractor.rb:28:in `<main>'

Duplicate of #68705.

Note: See TracTickets for help on using tickets.