Skip to content

Instantly share code, notes, and snippets.

@wjt
Created July 20, 2017 08:10
Show Gist options
  • Save wjt/240c7cea7ffa1ec1ea6a9c17bd7a8406 to your computer and use it in GitHub Desktop.
Save wjt/240c7cea7ffa1ec1ea6a9c17bd7a8406 to your computer and use it in GitHub Desktop.
{
"app-id": "org.freedesktop.Bustle",
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"sdk": "org.gnome.Sdk",
"command": "bustle",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--socket=system-bus",
"--socket=session-bus"
],
"modules": [
{
"name": "haskell-platform",
"sources": [
{
"type": "archive",
"url": "https://www.haskell.org/platform/download/8.0.2/haskell-platform-8.0.2-unknown-posix--full-x86_64.tar.gz",
"sha256": "c68a6f278a192d5000e8feefb0e63cef1bd441d02b846029840b98a5fa3ee31a"
}
],
"buildsystem": "simple",
"build-commands": [
"find / | grep haskell-platform"
]
}
]
}
gelf ~/src/bustle
% rm -r _build && flatpak-builder -v _build org.freedesktop.Bustle.json
XAB: Running: flatpak info --arch=x86_64 --show-commit org.gnome.Sdk 3.24
XAB: Running: flatpak info --arch=x86_64 --show-commit org.gnome.Platform 3.24
Downloading sources
Starting build of org.freedesktop.Bustle
Cache miss, checking out last cache hit
XAB: starting: rofiles-fuse /home/wjt/src/bustle/_build /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
========================================================================
Building module haskell-platform in /home/wjt/src/bustle/.flatpak-builder/build/haskell-platform-9
========================================================================
XAB: Running: tar xf /home/wjt/src/bustle/.flatpak-builder/downloads/c68a6f278a192d5000e8feefb0e63cef1bd441d02b846029840b98a5fa3ee31a/haskell-platform-8.0.2-unknown-posix--full-x86_64.tar.gz --no-same-owner --strip-components=1 -z
Running: find / | grep haskell-platform
XAB: Running: flatpak build --nofilesystem=host --filesystem=/home/wjt/src/bustle/.flatpak-builder/build/haskell-platform-9 --bind-mount=/run/build/haskell-platform=/home/wjt/src/bustle/.flatpak-builder/build/haskell-platform-9 --build-dir=/run/build/haskell-platform /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg /bin/sh -c 'find / | grep haskell-platform'
/home/wjt/src/bustle/.flatpak-builder/build/haskell-platform-9
/run/build/haskell-platform
find: ‘/proc/tty/driver’: Permission denied
XAB: unmounting rofiles-fuse /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
Committing stage build-haskell-platform to cache
Cleaning up
XAB: starting: rofiles-fuse /home/wjt/src/bustle/_build /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
XAB: unmounting rofiles-fuse /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
Committing stage cleanup to cache
Finishing app
XAB: starting: rofiles-fuse /home/wjt/src/bustle/_build /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
Error: Command 'bustle' not found
XAB: unmounting rofiles-fuse /home/wjt/src/bustle/.flatpak-builder/rofiles/rofiles-NPSllg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment