Bug 35471 - [GTK] Icondatabase is created for Epiphany during gtk-doc and gobject-introspection scan
Summary: [GTK] Icondatabase is created for Epiphany during gtk-doc and gobject-introsp...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 30113
  Show dependency treegraph
 
Reported: 2010-02-27 00:01 PST by Priit Laes (IRC: plaes)
Modified: 2011-01-14 11:02 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2010-02-27 00:01:51 PST
When building Epiphany with gtk-doc or introspection support, Webkit's icondatabase directory and WebpageIcons.db is created outside build environment (in user's data directory: ~/.local/share/webkit)

On Gentoo, packages are built within sandbox environment - therefore when something is created outside the build environment, the build fails with access violation error and this error happens in two cases:
1) When building with introspection support, access violation happens when it runs the  ./epiphany --introspect-dump=...
2) with gtk-doc, the violation happens during: "gtk-doc: Running scanner epiphany-scan" phase.

I have no idea how these scanners work, but the database creation code is inside the webkit_init() and it seems that webkit_init gets called in both cases, thus causing the access violation.
Comment 1 Priit Laes (IRC: plaes) 2011-01-14 10:55:51 PST
Ok, this really isn't this big of a bug, as apparently the icon database is written to $XDG_DATA_HOME/.local/ directory.

Closing the issue.