Opened 2 years ago

Closed 2 years ago

#65616 closed defect (fixed)

webkit2-gtk-devel 2.27.3: build fails on MacOS Big Sur

Reported by: fk0 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: webkit2-gtk-devel

Description

I'm trying to build nyxt browser and the webkit2-gtk-devel package 2.27.3 build is a dependency which fails to build with:

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk-devel/webkit2-gtk-devel/work/build/DerivedSources/WebCore/unified-sources/UnifiedSource-26ec8d00-3.cpp:6:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk-devel/webkit2-gtk-devel/work/webkitgtk-2.27.3/Source/WebCore/style/StyleResolver.cpp:109:55: error: type 'const char [4]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
        m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };

The OS is MacOS Big Sur 11.6.8.

I googled for a solution and found this message which states some fix has been backported https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg150807.html.

This is corporate machine so I can't attach any big files which I can make sure don't reveal any sensitive information. I can however, run this build and provide any pieces of logs if required.

Kindly asking for updated port.

Thanks!

Change History (5)

comment:1 Changed 2 years ago by kencu (Ken)

webkit2-gtk is newer (sorry about that) and builds on BigSur, so suggest you use thst.

https://ports.macports.org/port/webkit2-gtk/details/

Version 0, edited 2 years ago by kencu (Ken) (next)

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

webkit2-gtk-devel is now at parity with webkit2-gtk, via commit:

https://github.com/macports/macports-ports/commit/a54af3f702c940d22aaf2820ee6f5aa860a8dd00

Note: See TracTickets for help on using tickets.