parent-relative symlinks error with sshfs
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned and closed without resolution. Reported a shutil.Error when snapcraft copied parent-relative symlinks during sshfs-based builds. No fix was implemented.
Suggested action: —
No scores available.
Issue body
If there's a relative symlink in the snap's source or the contents of a part, it'll error in the pull or build step respectively.
Steps to reproduce:
$ git clone https://github.com/LaughingLove/branch-diff-snap.git
$ cd branch-diff-snap
$ SNAPCRAFT_CONTAINER_BUILDS=helga snapcraft
Using LXD remote 'helga' from SNAPCRAFT_CONTAINER_BUILDS
Waiting for a network connection...
Network connection established
useradd: user 'cris' already exists
Mounting /home/cris/bau/branch-diff-snap into container
Reading package lists... Done
Building dependency tree
Reading state information... Done
sshfs is already the newest version (2.5-1ubuntu1).
The following packages were automatically installed and are no longer required:
libc-dev-bin libc6-dev libfreetype6 linux-libc-dev manpages-dev zlib1g-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Skipping pull branch-diff (already ran)
Preparing to build branch-diff
Building branch-diff
[...]
File "/snap/snapcraft/x1/lib/python3.6/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 353, in build
symlinks=True, ignore=ignore)
File "/snap/snapcraft/x1/usr/lib/python3.6/shutil.py", line 353, in copytree
raise Error(errors)
shutil.Error: [('/home/cris/build_branch-diff/parts/branch-diff/src/node_modules/.bin/mkdirp', '/home/cris/build_branch-diff/parts/branch-diff/build/node_modules/.bin/mkdirp', '[Errno 2] No such file or directory')]
Stopping helga:snapcraft-branch-diff
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution. Reported a shutil.Error when snapcraft copied parent-relative symlinks during sshfs-based builds. No fix was implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Reported a shutil.Error when copying parent-relative symlinks during snapcraft builds over sshfs. No fix or follow-up was provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Relative symlinks in snapcraft source triggered a shutil.Error during sshfs-backed builds. Issue abandoned due to inactivity. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1650686 Some symlinks not properly fixed up | snapcraft (launchpad) | closed | Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented. | |
| #1103 Remote build fails on dangling symlinks | craft-application | closed | Closed without resolution. Remote-build crashes during project directory copying when dangling symlinks are present, causing a shutil.Error. No fix or follow-up was provided. | |
| #1741082 sshfs breaks with serving user files to root in LXD | snapcraft (launchpad) | closed | Closed without resolution due to inactivity. The report describes sshfs permission errors when mounting user-owned filesystems into root LXD containers, causing tar failures during snapcraft builds. No fix was applied. |