← Back to issue list

cannot build snap in Arch Linux

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1837268
Type
issue
State
open
Author
~shackraseaslug
Labels
Created
Updated
Closed

Current evaluation

Snapcraft 3.6 on Arch Linux segfaults during VM build, leaving a stale multipass instance that fails to remount. Reported July 2019; no labels, no comments, no maintainer activity in ~7 years; the core18 multipass build path is long obsolete.

Suggested action: close stale

Reason: The issue is 2600 days old with 0 comments, no labels, and no maintainer interaction, and it targets snapcraft 3.6 with the 'Ubuntu Snapcraft builder for Core 18' multipass image — a build path that no longer exists in the current codebase (modern snapcraft uses LXD and core22+ bases). Inactivity alone is not the reason; the reported environment and version are no longer applicable, and similar multipass-era reports (LP #1904774, #1806083) were likewise abandoned as obsolete.

Impact: 15 Quick Win: 9.0 Staleness: 95 Complexity: 40 Confidence: 75 Support Request: 15

Issue body

after install snapd from AUR ( https://aur.archlinux.org/packages/snapd/ ) and then install snapcraft with snap (sudo snap install snapcraft --classic) I'm unable to build a snap. % sudo snapcraft -d build Using 'snapcraft.yaml': Project assets will be searched for from the 'snap' directory. Launching a VM. Launched: snapcraft-emacs-git-shackraseaslug 2019-07-20T03:06:44Z INFO Waiting for restart... core 16-2.39.3 from Canonical✓ installed snapcraft 3.6 from Canonical✓ installed [1] 8064 segmentation fault sudo snapcraft -d build if I try again the same command the following is shown: % sudo snapcraft -d build Using 'snapcraft.yaml': Project assets will be searched for from the 'snap' directory. Launching a VM. mount failed: The following errors occurred: "snapcraft-emacs-git-shackraseaslug:/var/cache/snapcraft/snaps" is already mounted An error occurred with the instance when trying to mount with 'multipass': returned exit code 2. Ensure that 'multipass' is setup correctly and try again. I then check multipass: % sudo multipass list Name State IPv4 Image snapcraft-emacs-git-shackraseaslugDelayed Shutdown 10.240.249.116 Ubuntu Snapcraft builder for Core 18 divine-skater Running 10.240.249.40 Ubuntu 18.04 LTS if I start snapcraft-emacs-git-shackraseaslug and run the same build command again the same error is thrown

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 9.0
Staleness: 95
Complexity: 40
Confidence: 75
Support Request: 15
close stale Snapcraft 3.6 on Arch Linux segfaults during VM build, leaving a stale multipass instance that fails to remount. Reported July 2019; no labels, no comments, no maintainer activity in ~7 years; the core18 multipass build path is long obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 20
close stale Snapcraft build fails with segmentation fault and multipass mount errors on Arch Linux. Issue is 7 years old with no maintainer interaction or updates.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 10
close stale User reports snapcraft build failures on Arch Linux, including a segmentation fault and multipass VM mount errors. Issue remains open with no maintainer response or labels after over seven years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 15
close stale Snapcraft build fails with segmentation fault and multipass mount errors on Arch Linux using snapcraft 3.6. No maintainer response in over 7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 20
close stale Unresolved build failure and segmentation fault when using snapcraft on Arch Linux. Issue is over 6 years old, lacks maintainer response, and references outdated tool versions.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1904774 (confidence 55%)

    Similar multipass VM setup/cleanup failure from the same era; closed as abandoned without a fix.

  • Related To: snapcraft (launchpad)#1806083 (confidence 50%)

    Another multipass-related snapcraft failure from the same obsolete era, open ~7 years with no maintainer activity.

Related issues

Issue Project State Summary Similarity
#1817288 snapcraft cleanbuild produces incorrect architecture snap snapcraft (launchpad) closed Abandoned and closed without resolution. The legacy mode cleanbuild multi-arch naming bug remains unfixed due to lack of activity and deprecation of legacy mode.
72%
#1822372 Snapcraft cleanbuild on Arch Linux with LXD - AppArmor permission error snapcraft (launchpad) closed Closed without resolution due to prolonged inactivity. The report detailed an AppArmor permission error during snapcraft cleanbuild on Arch Linux with LXD. No comments or fixes were provided, indicating the issue was abandoned or marked as invalid.
71%
#1806083 snapcraft fails to locate multipass (inside a multipass session) snapcraft (launchpad) open snapcraft 3.0.1 fails to detect an installed multipass when run inside a multipass VM, prompting to install and dropping the user into a shell. No maintainer activity for ~7 years; affected version is long obsolete.
71%
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without comments or resolution after 74 days. The core20 build failure involving multipass hangs and LXD tracebacks was abandoned.
70%
#1869542 snapcraft unable to find snap/snapcraft.yaml file snapcraft (launchpad) open snapcraft 3.11 (2019) loses snap/snapcraft.yaml after a few builds and drops to the VM shell; workaround is snapcraft clean. 6+ years old, no labels, no maintainer comments, tied to a long-superseded build environment.
70%