[webkit-gtk] Compilation failure: ‘struct stat’ has no member named ‘st_birthtime’

Pavel Nikulin pavel at noa-labs.com
Mon Mar 9 01:03:12 PDT 2020


Can you ask the bugzilla maintainer if whether weak password detector
needs tweaking? I seem to have tried everything, including a password
generator output.


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