← Back to issue list

core20: fails to create snap with merged-usr

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1833408
Type
issue
State
closed
Author
~xnox
Labels
core20
Created
Updated
Closed

Current evaluation

Closed without a documented resolution. The report detailed snapcraft incorrectly converting merged-usr symlinks to directories during staging. No comments or follow-up actions were recorded.

Suggested action:

No scores available.

Issue body

$ git clone https://github.com/xnox/core20.git $ cd core20 $ sudo snapcraft ... fail See attached trace. Note that tarball that is staged has merged-usr. Meaning toplevel /lib is a symlink to /usr/lib, and should be preserved.... and they don't seem to be: $ ls -latr ./parts/boostrap/install/ | grep lib lrwxrwxrwx 1 root root 7 Jun 19 05:34 lib -> usr/lib lrwxrwxrwx 1 root root 10 Jun 19 05:34 libx32 -> usr/libx32 lrwxrwxrwx 1 root root 9 Jun 19 05:34 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 9 Jun 19 05:34 lib32 -> usr/lib32 $ ls -latr ./stage/ | grep lib drwxr-xr-x 2 root root 4096 Jun 19 11:56 lib32 drwxr-xr-x 45 root root 4096 Jun 19 11:57 lib drwxr-xr-x 2 root root 4096 Jun 19 11:57 lib64 $ snapcraft version snapcraft, version 3.6

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without a documented resolution. The report detailed snapcraft incorrectly converting merged-usr symlinks to directories during staging. No comments or follow-up actions were recorded.
qwen/qwen3.6-35b-a3b Closed without resolution. Reported snapcraft converting merged-usr symlinks to directories during staging. Likely abandoned or superseded by updated core20 handling.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without a documented fix. The multipass hang and lxd traceback preventing core20 builds were not addressed, indicating the report was abandoned or superseded by newer snapcraft versions.
73%
#6168 Can't "build-time resolve" staged symlinks with `organize` snapcraft closed Closed without resolution. The snapcraft organize symlink handling bug remains unfixed, with no comments, duplicates, or follow-up actions recorded before closure.
72%
#1619049 /sbin and /usr/sbin stage-packages not found snapcraft (launchpad) closed Snapcraft wrappers failing to include /sbin and /usr/sbin in stage-package PATHs were closed without resolution. Zero comments and no fix indicate the report was abandoned.
70%