← Back to issue list

--shell and --debug fail cryptically with late pack failures

View original Github issue

Metadata

Project
craft-application
Number
#1074
Type
issue
State
closed
Author
steinbro
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Closed and transferred to craft-application repository. Root cause identified: post-prime failures bypass --shell/--debug guards. Fix requires wrapping _run_post_prime_steps() in error handling. Pending upstream resolution.

Suggested action:

No scores available.

Issue body

### Check existing issues - [x] I've verified that this bug isn't described by any existing issues. ### Bug description While debugging a snap build failure, I was frustrated that snapcraft refused to drop me into a shell. The pack failure here is due to missing metadata that should have been pulled from a metadata file whose path was wrong. The metadata file is itself a build artifact, and in order to find it, I wanted to explore the build output, hence the desire to drop into a shell after an otherwise successful build. None of the expected `--shell`, `--shell-after`, or `--debug` commands worked: ``` steinbro@goteborg:~/can/vocalis-snap$ snapcraft pack --shell Project fields 'version', 'summary', and 'description' were not set. Failed to run snapcraft in instance Full execution log: '/home/steinbro/.local/state/snapcraft/log/snapcraft-20260427-201909.871441.log' steinbro@goteborg:~/can/vocalis-snap$ snapcraft pack --shell-after prime Cannot pack snap: error: open prime/meta/snap.yaml: no such file or directory Detailed information: Command '['snap', 'pack', '--check-skeleton', 'prime']' returned non-zero exit status 1. Full execution log: '/home/steinbro/.local/state/snapcraft/log/snapcraft-20260427-201936.348394.log' steinbro@goteborg:~/can/vocalis-snap$ snapcraft pack --debug Project fields 'version', 'summary', and 'description' were not set. Failed to run snapcraft in instance Full execution log: '/home/steinbro/.local/state/snapcraft/log/snapcraft-20260427-202001.453156.log' ``` Discussing with @mr-cal, the issue appears to be that the build container is no longer available at the point the build failed. Ideally, the shell should be available if the pack fails for any reason after the container starts. At minimum, the error message should be more clear about why the failure happened, and what can be done instead (e.g. manually launching the the container via lxd). ### Steps to reproduce Run the above `snapcraft pack` command variants with the provided snapcraft.yaml file. ### Environment Snapcraft 8.14.5 on Ubuntu 25.10 ### snapcraft.yaml ```yaml name: vocalis title: Vocalis grade: stable adopt-info: vocalis license: GPL-2.0+ base: core24 confinement: strict apps: vocalis: extensions: [gnome] command: usr/bin/gnome-sound-recorder desktop: usr/share/applications/org.gnome.SoundRecorder.desktop common-id: org.gnome.SoundRecorder.desktop plugs: - audio-record - audio-playback - home - pulseaudio parts: vocalis: source: https://gitlab.gnome.org/World/vocalis source-tag: "42.0" source-type: git plugin: meson stage-packages: - libproxy1v5 - libdrm-common meson-parameters: - --prefix=/usr - --buildtype=release # The error is caused by the below line # The correct filename is org.gnome.SoundRecorder.metainfo.xml parse-info: [usr/share/metainfo/org.gnome.Vocalis.metainfo.xml] ``` ### Log output <details> <summary>Log output</summary> ```shell 2026-04-27 20:20:01.453 Starting snapcraft, version 8.14.5 2026-04-27 20:20:01.453 Log verbosity level set to BRIEF 2026-04-27 20:20:01.453 Setting up Project 2026-04-27 20:20:01.453 Project file found at '/home/steinbro/can/vocalis-snap/snapcraft.yaml' 2026-04-27 20:20:01.454 Loading project file 'snapcraft.yaml 2026-04-27 20:20:01.458 Loading app plugin sdplug 2026-04-27 20:20:01.488 Forward environment variables 2026-04-27 20:20:01.488 Registering craft-sd source handlers 2026-04-27 20:20:01.488 Registering craft-sd services 2026-04-27 20:20:01.488 SD not enabled. Skipping adding commands 2026-04-27 20:20:01.488 Request craft-sd snap installation in managed instance 2026-04-27 20:20:01.488 Preparing application... 2026-04-27 20:20:01.488 Setting up ConfigService 2026-04-27 20:20:01.494 Merging commands for group 'Lifecycle': 2026-04-27 20:20:01.495 - using application command for 'clean'. 2026-04-27 20:20:01.495 - using application command for 'pull'. 2026-04-27 20:20:01.495 - using application command for 'build'. 2026-04-27 20:20:01.495 - using application command for 'stage'. 2026-04-27 20:20:01.495 - using application command for 'prime'. 2026-04-27 20:20:01.495 - using application command for 'pack'. 2026-04-27 20:20:01.495 Merging commands for group 'Other': 2026-04-27 20:20:01.495 Configuring application... 2026-04-27 20:20:01.507 Build plan: platform=None, build_for=None 2026-04-27 20:20:01.507 Loading project because a directory was not provided. 2026-04-27 20:20:01.507 Running snapcraft pack on host 2026-04-27 20:20:01.520 Setting up BuildPlan 2026-04-27 20:20:01.536 Setting up Provider 2026-04-27 20:20:01.593 Setting snapcraft to be injected from the host into the build environment. 2026-04-27 20:20:01.734 Build plan contains 1 build(s). 2026-04-27 20:20:01.734 Running managed snapcraft in managed ubuntu@24.04 instance for platform 'amd64' 2026-04-27 20:20:01.734 active_fetch_service=False 2026-04-27 20:20:01.735 Created project variables {'version': {'value': None, 'updated': False, 'part-name': 'vocalis'}, 'grade': {'value': 'stable', 'updated': False, 'part-name': 'vocalis'}}. 2026-04-27 20:20:01.735 Using parallel build count of 16 from CPU count 2026-04-27 20:20:01.736 Checking if 'version' exists. 2026-04-27 20:20:01.736 Getting value for 'version'. 2026-04-27 20:20:01.736 Got None (updated=False) for 'version'. 2026-04-27 20:20:01.736 'version' exists. 2026-04-27 20:20:01.736 Getting value for 'version'. 2026-04-27 20:20:01.736 Got None (updated=False) for 'version'. 2026-04-27 20:20:01.736 Checking if 'version' exists. 2026-04-27 20:20:01.736 Getting value for 'version'. 2026-04-27 20:20:01.736 Got None (updated=False) for 'version'. 2026-04-27 20:20:01.736 'version' exists. 2026-04-27 20:20:01.736 Getting value for 'version'. 2026-04-27 20:20:01.736 Got None (updated=False) for 'version'. 2026-04-27 20:20:01.736 Checking if 'grade' exists. 2026-04-27 20:20:01.736 Getting value for 'grade'. 2026-04-27 20:20:01.736 Got 'stable' (updated=False) for 'grade'. 2026-04-27 20:20:01.736 'grade' exists. 2026-04-27 20:20:01.736 Getting value for 'grade'. 2026-04-27 20:20:01.736 Got 'stable' (updated=False) for 'grade'. 2026-04-27 20:20:01.736 Processing grammar (on amd64 for amd64) 2026-04-27 20:20:01.736 Processing grammar for source: https://gitlab.gnome.org/World/vocalis 2026-04-27 20:20:01.736 Processing grammar for source-tag: 42.0 2026-04-27 20:20:01.736 Processing grammar for source-type: git 2026-04-27 20:20:01.736 Processing grammar for plugin: meson 2026-04-27 20:20:01.736 Processing grammar for stage-packages: ['libproxy1v5', 'libdrm-common'] 2026-04-27 20:20:01.736 Not processing grammar for non-grammar enabled keyword meson-parameters 2026-04-27 20:20:01.736 Processing grammar for build-environment: [{'SNAPCRAFT_GNOME_SDK': '/snap/gnome-46-2404-sdk/current/'}, {'PATH': '/snap/gnome-46-2404-sdk/current/usr/bin${PATH:+:$PATH}'}, {'XDG_DATA_DIRS': '/home/steinbro/can/vocalis-snap/stage/usr/share:/snap/gnome-46-2404-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}'}, {'LD_LIBRARY_PATH': '/snap/gnome-46-2404-sdk/current/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib:/snap/gnome-46-2404-sdk/current/usr/lib/vala-current:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}'}, {'PKG_CONFIG_PATH': '/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/lib/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}'}, {'GETTEXTDATADIRS': '/snap/gnome-46-2404-sdk/current/usr/share/gettext-current${GETTEXTDATADIRS:+:$GETTEXTDATADIRS}'}, {'GDK_PIXBUF_MODULE_FILE': '/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-current/loaders.cache'}, {'ACLOCAL_PATH': '/snap/gnome-46-2404-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}'}, {'PYTHONPATH': '/snap/gnome-46-2404-sdk/current/usr/lib/python3.10:/snap/gnome-46-2404-sdk/current/usr/lib/python3/dist-packages:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gobject-introspection${PYTHONPATH:+:$PYTHONPATH}'}, {'GI_TYPELIB_PATH': '/snap/gnome-46-2404-sdk/current/usr/lib/girepository-1.0:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}'}, {'CMAKE_PREFIX_PATH': '/home/steinbro/can/vocalis-snap/stage/usr:/snap/gnome-46-2404-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}'}] 2026-04-27 20:20:01.736 Processing grammar for source: /snap/snapcraft/17634/share/snapcraft/extensions/desktop/command-chain 2026-04-27 20:20:01.736 Processing grammar for plugin: make 2026-04-27 20:20:01.736 Processing grammar for build-snaps: ['gnome-46-2404-sdk'] 2026-04-27 20:20:01.736 Not processing grammar for non-grammar enabled keyword make-parameters 2026-04-27 20:20:01.741 Preparing managed instance 'snapcraft-vocalis-amd64-7881152' 2026-04-27 20:20:01.741 Using hostname 'snapcraft-vocalis-amd64-7881152' 2026-04-27 20:20:01.752 Retrieved snap config: {} 2026-04-27 20:20:01.752 Using default provider 'lxd' on linux system. 2026-04-27 20:20:01.756 Checking if LXD is installed. 2026-04-27 20:20:01.794 LXD snap status: active 2026-04-27 20:20:01.794 Checking if LXD is installed. 2026-04-27 20:20:01.831 LXD snap status: active 2026-04-27 20:20:01.837 Executing on host: lxc --project default profile show local:default 2026-04-27 20:20:01.957 Launching managed ubuntu 24.04 instance... 2026-04-27 20:20:01.957 Executing on host: lxc remote list --format=yaml 2026-04-27 20:20:02.058 Remote 'craft-com.ubuntu.cloud-buildd' already exists. 2026-04-27 20:20:02.059 Executing on host: lxc project list local: --format=yaml 2026-04-27 20:20:02.173 Converted name 'snapcraft-vocalis-amd64-7881152' to instance name 'snapcraft-vocalis-amd64-7881152' 2026-04-27 20:20:02.175 Checking for instance 'snapcraft-vocalis-amd64-7881152' in project 'snapcraft' in remote 'local' 2026-04-27 20:20:02.178 Executing on host: lxc --project snapcraft config get local:snapcraft-vocalis-amd64-7881152 raw.idmap 2026-04-27 20:20:02.282 Executing on host: lxc --project snapcraft list local: --format=yaml 2026-04-27 20:20:02.467 Instance exists and is not running. Starting instance. 2026-04-27 20:20:02.467 Starting instance 2026-04-27 20:20:02.467 Executing on host: lxc --project snapcraft info local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:02.564 Executing on host: lxc --project snapcraft start local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:02.876 Executing on host: lxc --project snapcraft list local: --format=yaml 2026-04-27 20:20:03.087 Executing on host: lxc --project snapcraft config set local:snapcraft-vocalis-amd64-7881152 user.craft_providers.status IN_USE 2026-04-27 20:20:03.229 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:03.393 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmpkcarfvcb.tmp-craft/tmp01rbt_y2 2026-04-27 20:20:03.529 Instance has already been setup. 2026-04-27 20:20:03.529 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical cat /etc/os-release 2026-04-27 20:20:03.677 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:03.841 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmpcb4s8ha3.tmp-craft/tmpl79m80gl 2026-04-27 20:20:03.960 Instance is compatible with compatibility tag 'snapcraft-buildd-base-v7.1' 2026-04-27 20:20:03.960 No cache path set, not mounting cache directories. 2026-04-27 20:20:03.960 Waiting for environment to be ready... 2026-04-27 20:20:03.960 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running 2026-04-27 20:20:04.114 systemctl is-system-running status: starting 2026-04-27 20:20:04.364 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running 2026-04-27 20:20:04.514 Waiting for networking to be ready... 2026-04-27 20:20:04.515 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical getent hosts snapcraft.io 2026-04-27 20:20:04.644 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical chmod go+x /root 2026-04-27 20:20:04.793 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.http 2026-04-27 20:20:05.430 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.https 2026-04-27 20:20:05.732 Installing snap 'craft-sd' with channel=None and classic=False 2026-04-27 20:20:05.732 Installing snap 'craft-sd' from host (classic=False) 2026-04-27 20:20:05.734 Installing base snap 'core24' for 'craft-sd' from host 2026-04-27 20:20:05.734 Installing snap 'core24' from host (classic=False) 2026-04-27 20:20:05.736 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:05.901 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmpw86ew8tt.tmp-craft/tmp1s24e9pr 2026-04-27 20:20:06.019 Revisions found: host='1587', target='1587' 2026-04-27 20:20:06.019 Skipping snap injection: target is already up-to-date with revision on host 2026-04-27 20:20:06.019 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:06.184 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmpd1plv5az.tmp-craft/tmp1tl95j1u 2026-04-27 20:20:06.295 Revisions found: host='96', target='96' 2026-04-27 20:20:06.295 Skipping snap injection: target is already up-to-date with revision on host 2026-04-27 20:20:06.295 Installing snap 'core24' with channel=None and classic=False 2026-04-27 20:20:06.295 Installing snap 'core24' from host (classic=False) 2026-04-27 20:20:06.297 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:06.461 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmp6ihve70y.tmp-craft/tmp2wn5gkfs 2026-04-27 20:20:06.573 Revisions found: host='1587', target='1587' 2026-04-27 20:20:06.573 Skipping snap injection: target is already up-to-date with revision on host 2026-04-27 20:20:06.573 Installing snap 'snapcraft' with channel=None and classic=True 2026-04-27 20:20:06.573 Installing snap 'snapcraft' from host (classic=True) 2026-04-27 20:20:06.576 Installing base snap 'core24' for 'snapcraft' from host 2026-04-27 20:20:06.576 Installing snap 'core24' from host (classic=False) 2026-04-27 20:20:06.579 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:06.743 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmpn_2fudtv.tmp-craft/tmp0s75u710 2026-04-27 20:20:06.862 Revisions found: host='1587', target='1587' 2026-04-27 20:20:06.862 Skipping snap injection: target is already up-to-date with revision on host 2026-04-27 20:20:06.862 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf 2026-04-27 20:20:07.027 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/etc/craft-instance.conf /home/steinbro/tmp2jqa4j1c.tmp-craft/tmp7jpft8ow 2026-04-27 20:20:07.134 Revisions found: host='17634', target='17634' 2026-04-27 20:20:07.134 Skipping snap injection: target is already up-to-date with revision on host 2026-04-27 20:20:07.134 Executing on host: lxc query 'local:/1.0?public' 2026-04-27 20:20:07.246 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical cat /etc/os-release 2026-04-27 20:20:07.377 Executing on host: lxc --project snapcraft config device show local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:07.491 Executing on host: lxc --project snapcraft config device add local:snapcraft-vocalis-amd64-7881152 disk-/root/project disk source=/home/steinbro/can/vocalis-snap path=/root/project 2026-04-27 20:20:07.612 Getting runtime directory. 2026-04-27 20:20:07.613 Using '/run/user/1000/93820' for the state directory. 2026-04-27 20:20:07.613 Setting up StateService 2026-04-27 20:20:07.613 Mounting state directory '/run/user/1000/93820' to '/tmp/craft-state'. 2026-04-27 20:20:07.613 Executing on host: lxc --project snapcraft config device show local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:07.721 Executing on host: lxc --project snapcraft config device add local:snapcraft-vocalis-amd64-7881152 disk-/tmp/craft-state disk source=/run/user/1000/93820 path=/tmp/craft-state 2026-04-27 20:20:07.842 Instance launched and working directory mounted 2026-04-27 20:20:07.842 Pushing bashrc to instance 2026-04-27 20:20:07.842 Executing on host: lxc --project snapcraft file push /tmp/tmphwp0480h local:snapcraft-vocalis-amd64-7881152/root/.bashrc --mode=644 2026-04-27 20:20:07.958 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical chown root:root /root/.bashrc 2026-04-27 20:20:08.092 Running in instance: ['snapcraft', 'pack', '--debug'] 2026-04-27 20:20:08.093 Setting up ProxyService 2026-04-27 20:20:08.093 Skipping package configuration because the proxy service isn't configured. 2026-04-27 20:20:08.093 Emitter: Pausing control of the terminal 2026-04-27 20:20:14.810 Emitter: Resuming control of the terminal 2026-04-27 20:20:14.811 Executing in container: lxc --project snapcraft exec local:snapcraft-vocalis-amd64-7881152 -- env CRAFT_MANAGED_MODE=1 SNAPCRAFT_DEBUG=False SNAPCRAFT_LXD_REMOTE=local SNAPCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /tmp/snapcraft.log 2026-04-27 20:20:14.975 Executing on host: lxc --project snapcraft file pull local:snapcraft-vocalis-amd64-7881152/tmp/snapcraft.log /home/steinbro/tmpbxgtqzlp.tmp-craft/tmp9vdbj3rc 2026-04-27 20:20:15.091 Logs retrieved from managed instance: :: 2026-04-27 20:20:11.052 Starting snapcraft, version 8.14.5 :: 2026-04-27 20:20:11.052 Log verbosity level set to BRIEF :: 2026-04-27 20:20:11.053 Setting up Project :: 2026-04-27 20:20:11.053 Project file found at '/root/project/snapcraft.yaml' :: 2026-04-27 20:20:11.053 Loading project file 'snapcraft.yaml :: 2026-04-27 20:20:11.059 Loading app plugin sdplug :: 2026-04-27 20:20:11.101 Forward environment variables :: 2026-04-27 20:20:11.101 Registering craft-sd source handlers :: 2026-04-27 20:20:11.101 Registering craft-sd services :: 2026-04-27 20:20:11.101 SD not enabled. Skipping adding commands :: 2026-04-27 20:20:11.101 Request craft-sd snap installation in managed instance :: 2026-04-27 20:20:11.101 Preparing application... :: 2026-04-27 20:20:11.101 Setting up ConfigService :: 2026-04-27 20:20:11.101 Merging commands for group 'Lifecycle': :: 2026-04-27 20:20:11.101 - using application command for 'clean'. :: 2026-04-27 20:20:11.101 - using application command for 'pull'. :: 2026-04-27 20:20:11.101 - using application command for 'build'. :: 2026-04-27 20:20:11.101 - using application command for 'stage'. :: 2026-04-27 20:20:11.101 - using application command for 'prime'. :: 2026-04-27 20:20:11.101 - using application command for 'pack'. :: 2026-04-27 20:20:11.101 Merging commands for group 'Other': :: 2026-04-27 20:20:11.101 Configuring application... :: 2026-04-27 20:20:11.110 Build plan: platform=amd64, build_for=None :: 2026-04-27 20:20:11.111 Loading project because a directory was not provided. :: 2026-04-27 20:20:11.111 Running snapcraft pack on host :: 2026-04-27 20:20:11.111 Setting up BuildPlan :: 2026-04-27 20:20:11.117 Created project variables {'version': {'value': None, 'updated': False, 'part-name': 'vocalis'}, 'grade': {'value': 'stable', 'updated': False, 'part-name': 'vocalis'}}. :: 2026-04-27 20:20:11.118 Using parallel build count of 16 from CPU count :: 2026-04-27 20:20:11.118 Checking if 'version' exists. :: 2026-04-27 20:20:11.118 Getting value for 'version'. :: 2026-04-27 20:20:11.118 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:11.118 'version' exists. :: 2026-04-27 20:20:11.118 Getting value for 'version'. :: 2026-04-27 20:20:11.118 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:11.118 Checking if 'version' exists. :: 2026-04-27 20:20:11.118 Getting value for 'version'. :: 2026-04-27 20:20:11.118 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:11.118 'version' exists. :: 2026-04-27 20:20:11.118 Getting value for 'version'. :: 2026-04-27 20:20:11.118 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:11.118 Checking if 'grade' exists. :: 2026-04-27 20:20:11.118 Getting value for 'grade'. :: 2026-04-27 20:20:11.118 Got 'stable' (updated=False) for 'grade'. :: 2026-04-27 20:20:11.118 'grade' exists. :: 2026-04-27 20:20:11.118 Getting value for 'grade'. :: 2026-04-27 20:20:11.118 Got 'stable' (updated=False) for 'grade'. :: 2026-04-27 20:20:11.118 Processing grammar (on amd64 for amd64) :: 2026-04-27 20:20:11.119 Processing grammar for source: https://gitlab.gnome.org/World/vocalis :: 2026-04-27 20:20:11.119 Processing grammar for source-tag: 42.0 :: 2026-04-27 20:20:11.119 Processing grammar for source-type: git :: 2026-04-27 20:20:11.119 Processing grammar for plugin: meson :: 2026-04-27 20:20:11.119 Processing grammar for stage-packages: ['libproxy1v5', 'libdrm-common'] :: 2026-04-27 20:20:11.119 Not processing grammar for non-grammar enabled keyword meson-parameters :: 2026-04-27 20:20:11.119 Processing grammar for build-environment: [{'SNAPCRAFT_GNOME_SDK': '/snap/gnome-46-2404-sdk/current/'}, {'PATH': '/snap/gnome-46-2404-sdk/current/usr/bin${PATH:+:$PATH}'}, {'XDG_DATA_DIRS': '/root/stage/usr/share:/snap/gnome-46-2404-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}'}, {'LD_LIBRARY_PATH': '/snap/gnome-46-2404-sdk/current/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib:/snap/gnome-46-2404-sdk/current/usr/lib/vala-current:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}'}, {'PKG_CONFIG_PATH': '/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/lib/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}'}, {'GETTEXTDATADIRS': '/snap/gnome-46-2404-sdk/current/usr/share/gettext-current${GETTEXTDATADIRS:+:$GETTEXTDATADIRS}'}, {'GDK_PIXBUF_MODULE_FILE': '/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-current/loaders.cache'}, {'ACLOCAL_PATH': '/snap/gnome-46-2404-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}'}, {'PYTHONPATH': '/snap/gnome-46-2404-sdk/current/usr/lib/python3.10:/snap/gnome-46-2404-sdk/current/usr/lib/python3/dist-packages:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gobject-introspection${PYTHONPATH:+:$PYTHONPATH}'}, {'GI_TYPELIB_PATH': '/snap/gnome-46-2404-sdk/current/usr/lib/girepository-1.0:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}'}, {'CMAKE_PREFIX_PATH': '/root/stage/usr:/snap/gnome-46-2404-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}'}] :: 2026-04-27 20:20:11.119 Processing grammar for source: /snap/snapcraft/17634/share/snapcraft/extensions/desktop/command-chain :: 2026-04-27 20:20:11.119 Processing grammar for plugin: make :: 2026-04-27 20:20:11.119 Processing grammar for build-snaps: ['gnome-46-2404-sdk'] :: 2026-04-27 20:20:11.119 Not processing grammar for non-grammar enabled keyword make-parameters :: 2026-04-27 20:20:11.125 Build plan contains 1 build(s). :: 2026-04-27 20:20:11.125 Initializing lifecycle manager in /root :: 2026-04-27 20:20:11.125 Using parallel build count of 16 from CPU count :: 2026-04-27 20:20:11.129 get repository attribute: attr=configure, repository:<class 'craft_parts.packages.deb.Ubuntu'> :: 2026-04-27 20:20:11.129 is_snap: True, SNAP_NAME set to snapcraft :: 2026-04-27 20:20:11.131 load state file: /root/parts/gnome/sdk/state/pull :: 2026-04-27 20:20:11.133 load state file: /root/parts/vocalis/state/pull :: 2026-04-27 20:20:11.136 load state file: /root/parts/gnome/sdk/state/build :: 2026-04-27 20:20:11.144 load state file: /root/parts/vocalis/state/build :: 2026-04-27 20:20:11.151 load state file: /root/parts/gnome/sdk/state/stage :: 2026-04-27 20:20:11.153 load state file: /root/parts/vocalis/state/stage :: 2026-04-27 20:20:11.164 load state file: /root/parts/gnome/sdk/state/prime :: 2026-04-27 20:20:11.166 load state file: /root/parts/vocalis/state/prime :: 2026-04-27 20:20:11.181 process gnome/sdk:1 :: 2026-04-27 20:20:11.181 check if Part('gnome/sdk'):1 is dirty :: 2026-04-27 20:20:11.182 check if Part('gnome/sdk'):1 is outdated :: 2026-04-27 20:20:11.183 ignore patterns: ['.craft', '*.snap', '.craft', '*.snap'] :: 2026-04-27 20:20:11.183 updated files: set() :: 2026-04-27 20:20:11.183 updated directories: set() :: 2026-04-27 20:20:11.183 add action gnome/sdk:1(2) :: 2026-04-27 20:20:11.183 process vocalis:1 :: 2026-04-27 20:20:11.183 check if Part('vocalis'):1 is dirty :: 2026-04-27 20:20:11.183 check if Part('vocalis'):1 is outdated :: 2026-04-27 20:20:11.184 add action vocalis:1(2) :: 2026-04-27 20:20:11.184 process gnome/sdk:3 :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):3 is dirty :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):3 is outdated :: 2026-04-27 20:20:11.184 add action gnome/sdk:3(2) :: 2026-04-27 20:20:11.184 process vocalis:3 :: 2026-04-27 20:20:11.184 check if Part('vocalis'):3 is dirty :: 2026-04-27 20:20:11.184 check if Part('vocalis'):3 is outdated :: 2026-04-27 20:20:11.184 add action vocalis:3(2) :: 2026-04-27 20:20:11.184 process gnome/sdk:4 :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):4 is dirty :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):4 is outdated :: 2026-04-27 20:20:11.184 add action gnome/sdk:4(2) :: 2026-04-27 20:20:11.184 process vocalis:4 :: 2026-04-27 20:20:11.184 check if Part('vocalis'):4 is dirty :: 2026-04-27 20:20:11.184 check if Part('vocalis'):4 is outdated :: 2026-04-27 20:20:11.184 add action vocalis:4(2) :: 2026-04-27 20:20:11.184 process gnome/sdk:5 :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):5 is dirty :: 2026-04-27 20:20:11.184 check if Part('gnome/sdk'):5 is outdated :: 2026-04-27 20:20:11.184 add action gnome/sdk:5(2) :: 2026-04-27 20:20:11.185 process vocalis:5 :: 2026-04-27 20:20:11.185 check if Part('vocalis'):5 is dirty :: 2026-04-27 20:20:11.185 check if Part('vocalis'):5 is outdated :: 2026-04-27 20:20:11.185 add action vocalis:5(2) :: 2026-04-27 20:20:11.185 Initializing lifecycle :: 2026-04-27 20:20:11.185 ignore patterns: ['.craft', '*.snap'] :: 2026-04-27 20:20:11.186 get repository attribute: attr=get_packages_for_source_type, repository:<class 'craft_parts.packages.deb.Ubuntu'> :: 2026-04-27 20:20:11.186 plugin build packages: {'gcc', 'make'} :: 2026-04-27 20:20:11.186 part build snaps: ['gnome-46-2404-sdk'] :: 2026-04-27 20:20:11.186 ignore patterns: [] :: 2026-04-27 20:20:11.187 get repository attribute: attr=get_packages_for_source_type, repository:<class 'craft_parts.packages.deb.Ubuntu'> :: 2026-04-27 20:20:11.187 source build packages: {'git'} :: 2026-04-27 20:20:11.187 Installing build-packages :: 2026-04-27 20:20:11.187 get repository attribute: attr=install_packages, repository:<class 'craft_parts.packages.deb.Ubuntu'> :: 2026-04-27 20:20:11.187 Installing packages using apt: ['gcc', 'git', 'make'] :: 2026-04-27 20:20:11.665 Marking gcc (and its dependencies) to be fetched :: 2026-04-27 20:20:11.666 package: gcc :: 2026-04-27 20:20:11.681 Marking make (and its dependencies) to be fetched :: 2026-04-27 20:20:11.681 package: make :: 2026-04-27 20:20:11.695 Marking git (and its dependencies) to be fetched :: 2026-04-27 20:20:11.695 package: git :: 2026-04-27 20:20:11.742 Requested build-packages already installed: ['gcc', 'git', 'make'] :: 2026-04-27 20:20:11.972 Installing build-snaps :: 2026-04-27 20:20:13.681 verify plugin environment for part 'gnome/sdk' :: 2026-04-27 20:20:13.682 verify plugin environment for part 'vocalis' :: 2026-04-27 20:20:13.682 plugin validation environment: # Environment :: ## Application environment :: ## Part environment :: export CRAFT_ARCH_TRIPLET="x86_64-linux-gnu" :: export CRAFT_TARGET_ARCH="amd64" :: export CRAFT_ARCH_BUILD_ON="amd64" :: export CRAFT_ARCH_BUILD_FOR="amd64" :: export CRAFT_ARCH_TRIPLET_BUILD_ON="x86_64-linux-gnu" :: export CRAFT_ARCH_TRIPLET_BUILD_FOR="x86_64-linux-gnu" :: export CRAFT_PARALLEL_BUILD_COUNT="16" :: export CRAFT_PROJECT_DIR="/root/project" :: export CRAFT_STAGE="/root/stage" :: export CRAFT_PRIME="/root/prime" :: export CRAFT_PROJECT_NAME="vocalis" :: export CRAFT_PART_NAME="vocalis" :: export CRAFT_STEP_NAME="BUILD" :: export CRAFT_PART_SRC="/root/parts/vocalis/src" :: export CRAFT_PART_SRC_WORK="/root/parts/vocalis/src" :: export CRAFT_PART_BUILD="/root/parts/vocalis/build" :: export CRAFT_PART_BUILD_WORK="/root/parts/vocalis/build" :: export CRAFT_PART_INSTALL="/root/parts/vocalis/install" :: export PATH="/root/parts/vocalis/install/usr/bin:/root/stage/usr/bin:$PATH" :: export LDFLAGS="-L/root/parts/vocalis/install/usr/lib -L/root/parts/vocalis/install/usr/lib/x86_64-linux-gnu -L/root/stage/usr/lib -L/root/stage/usr/lib/x86_64-linux-gnu" :: ## Plugin environment :: ## User environment :: export SNAPCRAFT_GNOME_SDK="/snap/gnome-46-2404-sdk/current/" :: export PATH="/snap/gnome-46-2404-sdk/current/usr/bin${PATH:+:$PATH}" :: export XDG_DATA_DIRS="/root/stage/usr/share:/snap/gnome-46-2404-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}" :: export LD_LIBRARY_PATH="/snap/gnome-46-2404-sdk/current/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib:/snap/gnome-46-2404-sdk/current/usr/lib/vala-current:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" :: export PKG_CONFIG_PATH="/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/lib/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" :: export GETTEXTDATADIRS="/snap/gnome-46-2404-sdk/current/usr/share/gettext-current${GETTEXTDATADIRS:+:$GETTEXTDATADIRS}" :: export GDK_PIXBUF_MODULE_FILE="/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-current/loaders.cache" :: export ACLOCAL_PATH="/snap/gnome-46-2404-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}" :: export PYTHONPATH="/snap/gnome-46-2404-sdk/current/usr/lib/python3.10:/snap/gnome-46-2404-sdk/current/usr/lib/python3/dist-packages:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gobject-introspection${PYTHONPATH:+:$PYTHONPATH}" :: export GI_TYPELIB_PATH="/snap/gnome-46-2404-sdk/current/usr/lib/girepository-1.0:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" :: export CMAKE_PREFIX_PATH="/root/stage/usr:/snap/gnome-46-2404-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}" :: 2026-04-27 20:20:13.682 plugin validation command: 'meson --version' :: 2026-04-27 20:20:14.466 executed meson --version with output 1.8.4 :: 2026-04-27 20:20:14.466 plugin validation environment: # Environment :: ## Application environment :: ## Part environment :: export CRAFT_ARCH_TRIPLET="x86_64-linux-gnu" :: export CRAFT_TARGET_ARCH="amd64" :: export CRAFT_ARCH_BUILD_ON="amd64" :: export CRAFT_ARCH_BUILD_FOR="amd64" :: export CRAFT_ARCH_TRIPLET_BUILD_ON="x86_64-linux-gnu" :: export CRAFT_ARCH_TRIPLET_BUILD_FOR="x86_64-linux-gnu" :: export CRAFT_PARALLEL_BUILD_COUNT="16" :: export CRAFT_PROJECT_DIR="/root/project" :: export CRAFT_STAGE="/root/stage" :: export CRAFT_PRIME="/root/prime" :: export CRAFT_PROJECT_NAME="vocalis" :: export CRAFT_PART_NAME="vocalis" :: export CRAFT_STEP_NAME="BUILD" :: export CRAFT_PART_SRC="/root/parts/vocalis/src" :: export CRAFT_PART_SRC_WORK="/root/parts/vocalis/src" :: export CRAFT_PART_BUILD="/root/parts/vocalis/build" :: export CRAFT_PART_BUILD_WORK="/root/parts/vocalis/build" :: export CRAFT_PART_INSTALL="/root/parts/vocalis/install" :: export PATH="/root/parts/vocalis/install/usr/bin:/root/stage/usr/bin:$PATH" :: export LDFLAGS="-L/root/parts/vocalis/install/usr/lib -L/root/parts/vocalis/install/usr/lib/x86_64-linux-gnu -L/root/stage/usr/lib -L/root/stage/usr/lib/x86_64-linux-gnu" :: ## Plugin environment :: ## User environment :: export SNAPCRAFT_GNOME_SDK="/snap/gnome-46-2404-sdk/current/" :: export PATH="/snap/gnome-46-2404-sdk/current/usr/bin${PATH:+:$PATH}" :: export XDG_DATA_DIRS="/root/stage/usr/share:/snap/gnome-46-2404-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}" :: export LD_LIBRARY_PATH="/snap/gnome-46-2404-sdk/current/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu:/snap/gnome-46-2404-sdk/current/usr/lib:/snap/gnome-46-2404-sdk/current/usr/lib/vala-current:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" :: export PKG_CONFIG_PATH="/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/lib/pkgconfig:/snap/gnome-46-2404-sdk/current/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" :: export GETTEXTDATADIRS="/snap/gnome-46-2404-sdk/current/usr/share/gettext-current${GETTEXTDATADIRS:+:$GETTEXTDATADIRS}" :: export GDK_PIXBUF_MODULE_FILE="/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gdk-pixbuf-current/loaders.cache" :: export ACLOCAL_PATH="/snap/gnome-46-2404-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}" :: export PYTHONPATH="/snap/gnome-46-2404-sdk/current/usr/lib/python3.10:/snap/gnome-46-2404-sdk/current/usr/lib/python3/dist-packages:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/gobject-introspection${PYTHONPATH:+:$PYTHONPATH}" :: export GI_TYPELIB_PATH="/snap/gnome-46-2404-sdk/current/usr/lib/girepository-1.0:/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" :: export CMAKE_PREFIX_PATH="/root/stage/usr:/snap/gnome-46-2404-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}" :: 2026-04-27 20:20:14.466 plugin validation command: 'ninja --version' :: 2026-04-27 20:20:14.512 executed ninja --version with output 1.12.1 :: 2026-04-27 20:20:14.512 Checking if 'version' exists. :: 2026-04-27 20:20:14.512 Getting value for 'version'. :: 2026-04-27 20:20:14.512 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:14.512 'version' exists. :: 2026-04-27 20:20:14.512 Getting value for 'version'. :: 2026-04-27 20:20:14.512 Got None (updated=False) for 'version'. :: 2026-04-27 20:20:14.512 Checking if 'grade' exists. :: 2026-04-27 20:20:14.512 Getting value for 'grade'. :: 2026-04-27 20:20:14.512 Got 'stable' (updated=False) for 'grade'. :: 2026-04-27 20:20:14.512 'grade' exists. :: 2026-04-27 20:20:14.512 Getting value for 'grade'. :: 2026-04-27 20:20:14.512 Got 'stable' (updated=False) for 'grade'. :: 2026-04-27 20:20:14.512 set repository attribute: attr=stage_packages_filters, value=None, repo:<class 'craft_parts.packages.deb.Ubuntu'> :: 2026-04-27 20:20:14.512 Skipping pull for gnome/sdk (already ran) :: 2026-04-27 20:20:14.513 execute action gnome/sdk:Action(part_name='gnome/sdk', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.513 Skip execution of Action(part_name='gnome/sdk', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.514 Skipping pull for vocalis (already ran) :: 2026-04-27 20:20:14.514 execute action vocalis:Action(part_name='vocalis', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.514 Skip execution of Action(part_name='vocalis', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.515 Skipping build for gnome/sdk (already ran) :: 2026-04-27 20:20:14.515 execute action gnome/sdk:Action(part_name='gnome/sdk', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.515 Skip execution of Action(part_name='gnome/sdk', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.516 Skipping build for vocalis (already ran) :: 2026-04-27 20:20:14.517 execute action vocalis:Action(part_name='vocalis', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.517 Skip execution of Action(part_name='vocalis', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.518 Skipping stage for gnome/sdk (already ran) :: 2026-04-27 20:20:14.518 execute action gnome/sdk:Action(part_name='gnome/sdk', step=Step.STAGE, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.518 Skip execution of Action(part_name='gnome/sdk', step=Step.STAGE, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.519 Skipping stage for vocalis (already ran) :: 2026-04-27 20:20:14.519 execute action vocalis:Action(part_name='vocalis', step=Step.STAGE, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.519 Skip execution of Action(part_name='vocalis', step=Step.STAGE, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.520 Skipping prime for gnome/sdk (already ran) :: 2026-04-27 20:20:14.520 execute action gnome/sdk:Action(part_name='gnome/sdk', step=Step.PRIME, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.520 Skip execution of Action(part_name='gnome/sdk', step=Step.PRIME, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.521 Skipping prime for vocalis (already ran) :: 2026-04-27 20:20:14.521 execute action vocalis:Action(part_name='vocalis', step=Step.PRIME, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) :: 2026-04-27 20:20:14.521 Skip execution of Action(part_name='vocalis', step=Step.PRIME, action_type=ActionType.SKIP, reason='already ran', project_vars=ProjectVarInfo(root={'grade': ProjectVar(value='stable', updated=False, part_name='vocalis'), 'version': ProjectVar(value=None, updated=False, part_name='vocalis')}), properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran) :: 2026-04-27 20:20:14.523 Setting up Package :: 2026-04-27 20:20:14.523 Project variable updates: {'version': None, 'grade': 'stable'} :: 2026-04-27 20:20:14.530 Project fields 'version', 'summary', and 'description' were not set. 2026-04-27 20:20:15.097 Executing on host: lxc --project snapcraft config device show local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:15.194 Executing on host: lxc --project snapcraft config device remove local:snapcraft-vocalis-amd64-7881152 disk-/root/project 2026-04-27 20:20:15.327 Executing on host: lxc --project snapcraft config device remove local:snapcraft-vocalis-amd64-7881152 disk-/tmp/craft-state 2026-04-27 20:20:15.444 Executing on host: lxc --project snapcraft stop local:snapcraft-vocalis-amd64-7881152 2026-04-27 20:20:19.393 Executing on host: lxc --project snapcraft list local: --format=yaml 2026-04-27 20:20:19.582 Executing on host: lxc --project snapcraft config set local:snapcraft-vocalis-amd64-7881152 user.craft_providers.status FINISHED 2026-04-27 20:20:19.710 Failed to run snapcraft in instance 2026-04-27 20:20:19.711 Traceback (most recent call last): 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/services/provider.py", line 503, in run_managed 2026-04-27 20:20:19.711 instance.execute_run( # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType] 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_providers/lxd/lxd_instance.py", line 272, in execute_run 2026-04-27 20:20:19.711 return self.lxc.exec( 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_providers/lxd/lxc.py", line 528, in exec 2026-04-27 20:20:19.711 return runner(final_cmd, timeout=timeout, check=check, **kwargs) 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/current/usr/lib/python3.12/subprocess.py", line 571, in run 2026-04-27 20:20:19.711 raise CalledProcessError(retcode, process.args, 2026-04-27 20:20:19.711 subprocess.CalledProcessError: Command '['lxc', '--project', 'snapcraft', 'exec', 'local:snapcraft-vocalis-amd64-7881152', '--cwd', '/root/project', '--', 'env', 'CRAFT_MANAGED_MODE=1', 'SNAPCRAFT_DEBUG=False', 'SNAPCRAFT_LXD_REMOTE=local', 'SNAPCRAFT_LAUNCHPAD_INSTANCE=production', 'DEBIAN_FRONTEND=noninteractive', 'DEBCONF_NONINTERACTIVE_SEEN=true', 'DEBIAN_PRIORITY=critical', 'CRAFT_PLATFORM=amd64', 'CRAFT_VERBOSITY_LEVEL=BRIEF', 'snapcraft', 'pack', '--debug']' returned non-zero exit status 1. 2026-04-27 20:20:19.711 2026-04-27 20:20:19.711 The above exception was the direct cause of the following exception: 2026-04-27 20:20:19.711 Traceback (most recent call last): 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/application.py", line 676, in run 2026-04-27 20:20:19.711 return_code = self._run_inner() 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/snapcraft/application.py", line 183, in _run_inner 2026-04-27 20:20:19.711 return_code = super()._run_inner() 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/application.py", line 653, in _run_inner 2026-04-27 20:20:19.711 return_code = dispatcher.run() or os.EX_OK 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_cli/dispatcher.py", line 564, in run 2026-04-27 20:20:19.711 return self._loaded_command.run(self._parsed_command_args) 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/commands/base.py", line 222, in run 2026-04-27 20:20:19.711 result = self._run(parsed_args, **kwargs) or result 2026-04-27 20:20:19.711 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.711 File "/snap/snapcraft/17634/lib/python3.12/site-packages/snapcraft/commands/lifecycle.py", line 74, in _run 2026-04-27 20:20:19.712 super()._run(parsed_args) 2026-04-27 20:20:19.712 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 627, in _run 2026-04-27 20:20:19.712 return super()._run(parsed_args=parsed_args, step_name=step_name) 2026-04-27 20:20:19.712 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-04-27 20:20:19.712 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 240, in _run 2026-04-27 20:20:19.712 self._run_manager_for_build_plan(fetch_service_policy) 2026-04-27 20:20:19.712 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 105, in _run_manager_for_build_plan 2026-04-27 20:20:19.712 provider.run_managed(build, bool(fetch_service_policy)) 2026-04-27 20:20:19.712 File "/snap/snapcraft/17634/lib/python3.12/site-packages/craft_application/services/provider.py", line 510, in run_managed 2026-04-27 20:20:19.712 raise craft_providers.ProviderError( 2026-04-27 20:20:19.712 craft_providers.errors.ProviderError: Failed to run snapcraft in instance 2026-04-27 20:20:19.712 Full execution log: '/home/steinbro/.local/state/snapcraft/log/snapcraft-20260427-202001.453156.log' ``` </details>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed and transferred to craft-application repository. Root cause identified: post-prime failures bypass --shell/--debug guards. Fix requires wrapping _run_post_prime_steps() in error handling. Pending upstream resolution.
qwen/qwen3.6-35b-a3b Superseded by craft-application. PackCommand._run_real() runs post-prime steps before --shell/--debug checks, causing cryptic failures. A fix will wrap
qwen/qwen3.6-35b-a3b Issue closed and moved to craft-application for resolution. Fix requires updating craft-application's PackCommand to handle --shell/--debug during post-prime steps.
qwen3.6-35b-a3b-mtp-q6 Moved to craft-application (CRAFT-5149) for resolution. The bug originates in craft-application, where post-prime failures bypass shell/debug guards. Upstream will wrap post-prime steps in proper error handling to preserve the container for debugging.
qwen3.6-35b-a3b-mtp-q6 Superseded by a move to craft-application. Resolution requires wrapping post-prime steps in PackCommand._run_real() with --shell/--debug error handling to prevent cryptic failures.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4959 `--debug` does not enter a shell for failures during post-prime or packing snapcraft closed The --debug flag failed to enter a container during post-prime or packing failures for core24 snaps due to a craft-application regression. Fixed via craft-application PR #436 and released in snapcraft 8.4.1.
77%
#1073 fix: handle `--debug` for post-prime failures craft-application merged Merged fix resolving an exception when launching a debug shell after post-prime failures. Approved by three reviewers and passed CI checks. Resolves craft-application#1074 with 48 additions and 2 deletions across two files.
75%
#415 `--debug` does not enter a shell for failures during post-prime or packing craft-application closed Resolved in pull request #436. The --debug flag now correctly opens a shell when post-prime or packing steps fail, fixing a regression that blocked artifact troubleshooting.
73%