Opened 7 months ago

Last modified 6 months ago

#69933 assigned defect

qt5-qtwebkit @5.9.2: error: no member named 'wtf_ceil' in namespace 'std'; did you mean simply 'wtf_ceil'?

Reported by: tyrrell-ll Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: sonoma Cc:
Port: qt5-qtwebkit

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

qt5-qtwebkit is not building for me. The errors seem to all look like the following. (Full logfile to be attached.)

:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:1016:47: error: no member named 'wtf_ceil' in namespace 'std'; did you mean simply 'wtf_ceil'?
:info:build         __rehash_multi(static_cast<size_type>(std::ceil(__n / max_load_factor())));
:info:build                                               ^~~~~
:info:build ../WTF/wtf/MathExtras.h:85:15: note: 'wtf_ceil' declared here
:info:build inline double wtf_ceil(double x) { return copysign(ceil(x), x); }
:info:build               ^
:info:build In file included from jit/HostCallReturnValue.cpp:27:
:info:build In file included from jit/HostCallReturnValue.h:30:
:info:build In file included from assembler/MacroAssemblerCodeRef.h:31:
:info:build In file included from llint/LLIntData.h:30:

Version info:

:debug:main Starting logging for qt5-qtwebkit @5.9.2_7
:debug:sysinfo macOS 14.4.1 (darwin/23.4.0) arch arm
:debug:sysinfo MacPorts 2.9.3
:debug:sysinfo Xcode 15.3, CLT 15.3.0.0.1.1708646388
:debug:sysinfo SDK 14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0

Attachments (2)

qt5-qtwebkit-main.log (713.9 KB) - added by tyrrell-ll 7 months ago.
log file
qt5-qtwebkit-ported-wtf_ceil-patch.log (5.2 MB) - added by gwright83 6 months ago.
qt5-qtwebkit failed build using ported qt4 wtf_ceil patch

Change History (4)

Changed 7 months ago by tyrrell-ll

Attachment: qt5-qtwebkit-main.log added

log file

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

Description: modified (diff)
Keywords: sonoma added
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: qt5-qtwebkit not building in 2.9.3qt5-qtwebkit @5.9.2: error: no member named 'wtf_ceil' in namespace 'std'; did you mean simply 'wtf_ceil'?

A similar (?) problem related to wtf_ceil was fixed in qt4-mac last year in [37210501094e88965242db5aea61f7d3bdc1eed6/macports-ports].

Version 0, edited 7 months ago by ryandesign (Ryan Carsten Schmidt) (next)

Changed 6 months ago by gwright83

qt5-qtwebkit failed build using ported qt4 wtf_ceil patch

comment:2 Changed 6 months ago by gwright83

I ported the patch from qt4-mac mentioned above by ryandesign (fixed in qt4-mac last year) but the build still failed. I've attached a log showing the new failure.

Note: See TracTickets for help on using tickets.