Opened 4 months ago

Closed 4 months ago

#73233 closed defect (duplicate)

webkit2-gtk @2.28.2: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]

Reported by: djfitzgerald (Dan FitzGerald) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: tahoe Cc: mascguy (Christopher Nielsen)
Port: webkit2-gtk

Description

When I attempt to build gedit using MacPorts on Tahoe 26.1, I get the following errors:

Last login: Wed Nov 12 18:01:02 on ttys000
danfitz@mac ~ % sudo port install gedit
Password:
--->  Computing dependencies for gedit
The following dependencies will be installed:
 devhelp
 glade +gjs+python311+webkit2gtk+x11
 libhandy
 webkit2-gtk +minibrowser+x11
 yelp
Continue? [Y/n]: y
--->  Fetching archive for webkit2-gtk
--->  Attempting to fetch webkit2-gtk-2.28.2_9+minibrowser+x11.darwin_25.arm64.tbz2 from https://packages.macports.org/webkit2-gtk
--->  Attempting to fetch webkit2-gtk-2.28.2_9+minibrowser+x11.darwin_25.arm64.tbz2 from https://bos.us.packages.macports.org/webkit2-gtk
--->  Attempting to fetch webkit2-gtk-2.28.2_9+minibrowser+x11.darwin_25.arm64.tbz2 from http://mirror.fcix.net/macports/packages/webkit2-gtk
--->  Building webkit2-gtk
Error: Failed to build webkit2-gtk: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gedit failed
danfitz@mac ~ %

Attachments (1)

main.log (1.4 MB) - added by djfitzgerald (Dan FitzGerald) 4 months ago.
webkit2-gtk build log

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by djfitzgerald (Dan FitzGerald)

Attachment: main.log added

webkit2-gtk build log

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

Cc: mascguy added
Owner: set to dbevans
Port: webkit2-gtk added; gedit removed
Status: newassigned
Summary: Unable to build geditwebkit2-gtk @2.28.2: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]

I see these errors in your log:

In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/bytecode/ArithProfile.h:28:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/jit/GPRInfo.h:28:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/assembler/MacroAssembler.h:46:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:31:
/opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:925:65: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  925 |         AssemblerType::repatchCompact(dataLabelCompact.template dataLocation(), value);
      |                                                                 ^
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/bytecode/ArrayProfile.h:29:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/runtime/Structure.h:28:
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/runtime/ClassInfo.h:26:
/opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/runtime/JSCast.h:150:33: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  150 |     return Dispatcher::template inherits(vm, from);
      |                                 ^
/opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/runtime/JSCast.h:159:37: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  159 |     if (LIKELY(Dispatcher::template inherits(vm, from)))
      |                                     ^
In file included from /opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:55:
/opt/local/var/macports/build/webkit2-gtk-613a20d1/work/webkitgtk-2.28.2/Source/JavaScriptCore/llint/LLIntData.h:179:75: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  179 |     return reinterpret_cast<LLIntCode>(getCodePtr<tag>(opcodeID).template executableAddress());
      |                                                                           ^

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tahoe added
Resolution: duplicate
Status: assignedclosed
Version: 2.11.6

Duplicate of #73070.

Note: See TracTickets for help on using tickets.