[webkit-gtk] Compilation failure: ‘struct stat’ has no member named ‘st_birthtime’
Pavel Nikulin
pavel at noa-labs.com
Fri Mar 6 04:03:49 PST 2020
I can't register, the bugzilla says that my password is weak
On Fri, Mar 6, 2020 at 4:05 AM Carlos Alberto Lopez Perez
<clopez at igalia.com> wrote:
>
> On 05/03/2020 20:58, Pavel Nikulin wrote:
> > Hello,
> >
> > In file included from
> > DerivedSources/WebKit/unified-sources/UnifiedSource-72468c22-7.cpp:8:
> > /var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:
> > In function ‘WebKit::NetworkCache::FileTimes
> > WebKit::NetworkCache::fileTimes(const WTF::String&)’:
> > /var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:123:48:
> > error: ‘struct stat’ has no member named ‘st_birthtime’
> > 123 | return { WallTime::fromRawSeconds(fileInfo.st_birthtime),
> > WallTime::fromRawSeconds(fileInfo.st_mtime) };
> > | ^~~~~~~~~~~~
> > /var/tmp/portage/net-libs/webkit-gtk-2.26.4/work/webkitgtk-2.26.4/Source/WebKit/NetworkProcess/cache/NetworkCacheFileSystem.cpp:123:107:
> > error: could not convert ‘{<expression error>,
> > WTF::WallTime::fromRawSeconds((double)fileInfo.stat::st_mtim.timespec::tv_sec)}’
> > from ‘<brace-enclosed initializer list>’ to
> > ‘WebKit::NetworkCache::FileTimes’
> > 123 | return { WallTime::fromRawSeconds(fileInfo.st_birthtime),
> > WallTime::fromRawSeconds(fileInfo.st_mtime) };
> > |
> > ^
> > |
> > |
> > |
> > <brace-enclosed initializer
>
>
> Can you please fill a bug at https://bugs.webkit.org giving more details
> about:
>
> - webkitgtk version used
> - build parameters passed to cmake
> - distribution/version
>
> Ensure to select as component "WebKitGTK".
>
> Thanks
>
More information about the webkit-gtk
mailing list