Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flathub build error: min-free-space-percent '3%' exceeded from appdata screenshots #2481

Open
wereturtle opened this issue Dec 25, 2018 · 2 comments
Labels
flathub Issues involving flathub infra or apps

Comments

@wereturtle
Copy link

Linux distribution and version

Linux Mint 19

Flatpak version

1.0.6

Description of the problem

The latest ghostwriter version 1.7.4 was pulled in for a Flathub build here, and failed. It appears to have not had enough available space to pull in the appdata screenshots. Please see error log below, and the link above for the full log. Is there a workaround for this? If I were to release a version 1.7.5 with, say, only one screenshot instead of three, what is the maximum size Flathub allows? Thanks!

Committing stage finish to cache
Mirroring screenshots from appdata
�]2;flatpak-builder: Mirroring screenshots�FB: Running: flatpak build --die-with-parent --nofilesystem=host --filesystem=/home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/builddir --filesystem=/home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/screenshots-cache --share=network /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/builddir appstream-util mirror-screenshots /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/builddir/files/share/app-info/xmls/io.github.wereturtle.ghostwriter.xml.gz https://flathub.org/repo/screenshots/io.github.wereturtle.ghostwriter-stable /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/screenshots-cache /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/builddir/screenshots/io.github.wereturtle.ghostwriter-stable
io.github.wereturtle.ghostwriter:  Downloading https://raw.githubusercontent.com/wereturtle/ghostwriter/master/resources/linux/screenshot_distraction_free_editing.png
io.github.wereturtle.ghostwriter:  Saved to cache /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/screenshots-cache/io.github.wereturtle.ghostwriter-screenshot_distraction_free_editing.png
io.github.wereturtle.ghostwriter:  Downloading https://raw.githubusercontent.com/wereturtle/ghostwriter/master/resources/linux/screenshot_live_preview.png
io.github.wereturtle.ghostwriter:  Saved to cache /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/screenshots-cache/io.github.wereturtle.ghostwriter-screenshot_live_preview.png
io.github.wereturtle.ghostwriter:  Downloading https://raw.githubusercontent.com/wereturtle/ghostwriter/master/resources/linux/screenshot_theming.png
io.github.wereturtle.ghostwriter:  Saved to cache /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/screenshots-cache/io.github.wereturtle.ghostwriter-screenshot_theming.png
Saved screenshots in /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/builddir/screenshots
Exporting io.github.wereturtle.ghostwriter to repo
�]2;flatpak-builder: Exporting to repository�error: min-free-space-percent '3%' would be exceeded
Export failed: Child process exited with code 1
FB: unmounting rofiles-fuse /home/builder/worker-new/build-aarch64-6/io.github.wereturtle.ghostwriter/.flatpak-builder/rofiles/rofiles-ZG2cAg
program finished with exit code 1
elapsedTime=165.771496

Steps to reproduce

Build ghostwriter from Flathub. (Note that it builds fine on my local computer with flatpak-builder.)

@matthiasclasen matthiasclasen added the flathub Issues involving flathub infra or apps label Dec 27, 2018
@jacobq
Copy link

jacobq commented Dec 10, 2019

Hello from 1y in the future. Did anyone find out more about this? I am seeing the same problem when trying to build an electron app into a flatpak using electron-forge's Flatpak maker (using @malept/flatpak-bundler under the hood).

Version: Flatpak 1.4.3

Error message
  @malept/flatpak-bundler 1> Cleaning up
  @malept/flatpak-bundler  +140ms
  @malept/flatpak-bundler 1> Committing stage cleanup to cache
  @malept/flatpak-bundler  +11ms
  @malept/flatpak-bundler 1> Finishing app
  @malept/flatpak-bundler  +2s
  @malept/flatpak-bundler 1> Exporting share/applications/io.atom.electron.myapp.desktop
  @malept/flatpak-bundler  +20ms
  @malept/flatpak-bundler 1> Please review the exported files and the metadata
  @malept/flatpak-bundler  +1ms
  @malept/flatpak-bundler 1> Committing stage finish to cache
  @malept/flatpak-bundler  +18ms
  @malept/flatpak-bundler 1> Pruning cache
  @malept/flatpak-bundler  +1s
  @malept/flatpak-bundler Exporting /var/tmp/tmp-1068242FisTpdGNa7dq/build/files/share/pixmaps/io.atom.electron.myapp.png to /var/tmp/tmp-1068242FisTpdGNa7dq/build/export/share/pixmaps/io.atom.electron.myapp.png +10ms
  @malept/flatpak-bundler $ flatpak build-export --arch x86_64 /var/tmp/tmp-1068242FisTpdGNa7dq/repo /var/tmp/tmp-1068242FisTpdGNa7dq/build stable +1ms
  @malept/flatpak-bundler 1> WARNING: Icon referenced in desktop file but not exported: io.atom.electron.myapp
  @malept/flatpak-bundler  +27ms
  @malept/flatpak-bundler 2> error: Writing content object: min-free-space-percent '3%' would be exceeded, at least 4.1 kB requested
  @malept/flatpak-bundler  +17ms

So far the only solution I have found is to free up additional storage capacity on the file system (in my case /var). It would be nice to be able to override this limit, but I'm not sure how. With large devices, "3%" is a lot more than needed.

@refi64
Copy link
Collaborator

refi64 commented Dec 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flathub Issues involving flathub infra or apps
Projects
None yet
Development

No branches or pull requests

4 participants