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

Carlos Alberto Lopez Perez clopez at igalia.com
Thu Mar 5 14:05:31 PST 2020


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20200305/5970b402/attachment.bin>


More information about the webkit-gtk mailing list