[Webkit-unassigned] [Bug 186771] [WPE]: Add a way to setup our development environment inside flatpak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 22 06:04:41 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186771

--- Comment #25 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to Thibault Saunier from comment #24)
> > So this makes incremental builds kind of inconvenient.
> 
> Really? I wonder how that is posible at all looking at the code.
> 
> Can you paste the output of `build-webkit` to see what happens?
> 



This happens:

1. I build correcty flatpak with Tools/Scripts/update-webkitgtk-flatpak
2. I try to build webkit with Tools/Scripts/build-webkit --gtk and I see this:

$ Tools/Scripts/build-webkit --gtk
Building flatpak based environment
Building org.webkit.GTK and dependencies in /home/clopez/webkit/webkit/WebKitBuild/GTK/FlatpakTreeRelease
Emptying app dir '/home/clopez/webkit/webkit/WebKitBuild/GTK/FlatpakTreeRelease'
Downloading sources
Fetching git repo https://github.com/apache/httpd.git, ref refs/tags/2.4.33
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
Fetching git repo https://github.com/libevent/libevent.git, ref refs/tags/release-2.1.8-stable
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
Fetching git repo https://chromium.googlesource.com/webm/libvpx, ref refs/tags/v1.7.0
remote: Counting objects: 1, done
remote: Finding sources: 100% (1/1)
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/gstreamer/gstreamer, ref refs/tags/1.14.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching full git repo https://anongit.freedesktop.org/git/gstreamer/common.git
Fetching git repo https://anongit.freedesktop.org/git/gstreamer/gst-plugins-base, ref refs/tags/1.14.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching full git repo https://anongit.freedesktop.org/git/gstreamer/common.git
Fetching git repo https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good, ref refs/tags/1.14.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching full git repo https://anongit.freedesktop.org/git/gstreamer/common.git
Fetching git repo https://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly, ref refs/tags/1.14.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching full git repo https://anongit.freedesktop.org/git/gstreamer/common.git
Fetching git repo https://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad, ref refs/tags/1.14.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching full git repo https://anongit.freedesktop.org/git/gstreamer/common.git
Fetching git repo https://github.com/WebKitGTK/webkitgtk-test-fonts.git, ref refs/heads/master
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching git repo https://anongit.freedesktop.org/git/xorg/util/macros.git, ref refs/tags/util-macros-1.19.2
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/xorg/font/util.git, ref refs/tags/font-util-1.3.1
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/xorg/lib/libxkbfile.git, ref refs/tags/libxkbfile-1.0.9
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/xorg/lib/libfontenc.git, ref refs/tags/libfontenc-1.1.3
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/xorg/lib/libXfont.git, ref refs/tags/libXfont2-2.0.3
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Fetching git repo https://anongit.freedesktop.org/git/xorg/xserver.git, ref refs/tags/xorg-server-1.19.6
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
Stopping at module org.webkit.GTK
Starting build of org.webkit.GTK
Cache hit for apr, skipping build
Cache hit for apr-util, skipping build
Cache hit for httpd, skipping build
Cache hit for php, skipping build
Cache hit for libevent, skipping build
Cache hit for python3-pyaml, skipping build
Cache hit for python2-pyaml, skipping build
Cache hit for libvpx, skipping build
Cache hit for gstreamer, skipping build
Cache hit for gst-plugins-base, skipping build
Cache hit for gst-plugins-good, skipping build
Cache hit for gst-plugins-ugly, skipping build
Cache hit for gst-plugins-bad, skipping build
Cache hit for mesa, skipping build
Cache hit for webkitgtk-test-fonts, skipping build
Cache hit for xorg-util-macros, skipping build
Cache hit for xorg-font-util, skipping build
Cache hit for xkbfile, skipping build
Cache hit for fontenc, skipping build
Cache hit for xfont, skipping build
Cache hit for xvfb, skipping build
Cache hit for pycairo, skipping build
Cache hit for pygobject-python2, skipping build
Stopping at module org.webkit.GTK
Everything cached, checking out from cache
Pruning cache
Building webkit
Running in sandbox: "flatpak" "build" "--die-with-parent" "--bind-mount=/run/host//tmp=/tmp" "--bind-mount=/app/webkit=/home/clopez/webkit/webkit" "--bind-mount=/app/webkit/WebKitBuild/Release=/home/clopez/webkit/webkit/WebKitBuild/GTK/Release" "--env=LANG=en_US.utf8" "--env=WEBKIT_TOP_LEVEL=/app/" "--env=GTK_MODULES=gail:atk-bridge" "--env=TEST_RUNNER_INJECTED_BUNDLE_FILENAME=/app/webkit/lib/libTestRunnerInjectedBundle.so" "--env=DISPLAY=:0.0" "--share=ipc" "--socket=x11" "--socket=wayland" "--device=all" "--share=network" "--socket=pulseaudio" "--system-talk-name=org.freedesktop.GeoClue2" "--filesystem=host" "--socket=system-bus" "--talk-name=org.freedesktop.Flatpak" "/home/clopez/webkit/webkit/WebKitBuild/GTK/FlatpakTreeRelease" "/app/webkit/Tools/Scripts/build-webkit" "--release" "--gtk"

Use of uninitialized value $previousContents in chomp at /app/webkit/Tools/Scripts/webkitdirs.pm line 2027.
Use of uninitialized value $previousContents in string ne at /app/webkit/Tools/Scripts/webkitdirs.pm line 2030.
+  cmake --build /app/webkit/WebKitBuild/Release --config Release -- 
[...]

And If I retry another re-build I get also the same update process from flatpak

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180622/53c99f23/attachment.html>


More information about the webkit-unassigned mailing list