Opened 9 days ago

Last modified 9 days ago

#65616 assigned defect

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

Reported by: fk0 Owned by: dbevans (David B. Evans)
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 (3)

comment:1 Changed 9 days ago by kencu (Ken)

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

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

Last edited 9 days ago by kencu (Ken) (previous) (diff)

comment:3 Changed 9 days ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned
Note: See TracTickets for help on using tickets.