Some symlinks not properly fixed up
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented.
Suggested action: —
No scores available.
Issue body
Heya,
We have this elasticsearch-smb snap which uses a part to pull a JRE (default-jre-headless); the snap then has an error in snap package review in the store due to an absolute symlink that doesn't get fixed up by snapcraft during the build.
Link to LP snap build:
https://code.launchpad.net/~smb-dev/+snap/elasticsearch/
snapcraft.yaml:
https://git.launchpad.net/~smb-dev/+git/elastic-snap/tree/snapcraft.yaml?id=4121703777afc959fee8e967d01f34ff047f23d5
Store review error:
package contains external symlinks: usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
Jamie tells me he recently sent a patch to address a similar issue:
00:06 < jdstrand> lool: it used to always be (that is how I know that the ssl doesn't work), but a recent package I did had snapcraft fixing
it up. please file a bug
Thanks!
- Loïc
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned; reported snapcraft absolute symlink fix-up issue closed without resolution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1614913 FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase) | snapcraft (launchpad) | closed | Reported a failing symlink test during snapcraft build. Closed without comments or resolution, likely abandoned or superseded by newer versions. | |
| #1744921 parent-relative symlinks error with sshfs | snapcraft (launchpad) | closed | Abandoned and closed without resolution. Reported a shutil.Error when snapcraft copied parent-relative symlinks during sshfs-based builds. No fix was implemented. | |
| #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. | |
| #1889674 built python snap fails automated review due to external symlinks | snapcraft (launchpad) | closed | Closed without comments. Snapcraft 4.1.1 created external symlinks that triggered automated store review failures. The report was likely abandoned or superseded by upstream Snapcraft fixes that corrected symlink handling in subsequent versions. | |
| #1500505 snapcraft produces snaps with dangling external symlinks | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft generated snaps with dangling external symlinks for system libraries and Java components. A manual unpack, remove, and repack workaround was provided, but no upstream fix was implemented. | |
| #5384 remote build: snapcraft incorrectly follows symlinks | snapcraft | open | snapcraft remote-build fails on repos with broken symlinks because it follows them during upload. Triaged by maintainer who confirmed the fix belongs upstream in craft-application#721, which remains open. Awaiting upstream implementation. | |
| #1702661 node plugin fails to capture symlink | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft node plugin failed to resolve symlinks during the prime stage, causing a missing file error. No fix or follow-up was provided. | |
| #1634813 Symbolic links inside .deb pulled as directories | snapcraft (launchpad) | closed | Closed without resolution. Symbolic links inside .deb packages were incorrectly extracted as empty directories during snapcraft pull, but no fix or follow-up was provided. | |
| #1572664 Migrated files don't follow symlinks if they're hard linked | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft's hard link migration creates broken symlinks due to Python's os.link() behavior, but no workaround was implemented. | |
| #1816397 Modifying snapcraft.yaml with parts using local sources get dirty | snapcraft (launchpad) | closed | Closed without resolution or comments. Appears abandoned, with no fix or workaround implemented. |