After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786018 - flatpak: Cannot build flatpak due to cache error: Directory not empty
flatpak: Cannot build flatpak due to cache error: Directory not empty
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
Flatpak Nightly Channel
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-08 19:25 UTC by Jan-Michael Brummer
Modified: 2017-08-08 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
flatpak: echew flatpak-builder for manual build-finish/build-export (5.73 KB, patch)
2017-08-08 23:39 UTC, Christian Hergert
committed Details | Review

Description Jan-Michael Brummer 2017-08-08 19:25:15 UTC
Creating a flatpak from within GNOME Builder for the second time results in:

Cache hit for cleanup, skipping
Cache hit for finish, skipping
Everything cached, checking out from cache
(flatpak-builder:16208): flatpak-ERROR **: Failed to check out cache: Fehler beim Entfernen der Datei »/home/jbrummer/.cache/gnome-builder/flatpak/staging/Roger-Router/flatpak:org.gnome.Platform-x86_64-3.24«: Directory not empty

[jbrummer@buzz-fedlet flatpak:org.gnome.Platform-x86_64-3.24]$ ls
files  metadata  var
Comment 1 Christian Hergert 2017-08-08 23:39:01 UTC
Created attachment 357220 [details] [review]
flatpak: echew flatpak-builder for manual build-finish/build-export

We were running into errors when using flatpak-builder with --finish-only.
Instead, this change takes control of those operations by doing what
flatpak-builder would be doing for us. This seems to be more reliable when
trying to run export operations a number of times.
Comment 2 Christian Hergert 2017-08-08 23:39:54 UTC
Attachment 357220 [details] pushed as f87b2f4 - flatpak: echew flatpak-builder for manual build-finish/build-export