← Back to issue list

built python snap fails automated review due to external symlinks

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1889674
Type
issue
State
closed
Author
~billy-olsen
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

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.

Suggested action:

No scores available.

Issue body

Snapcraft version 4.1.1 produces a snap which has external symlinks for bin/python and bin/python3. Per discussion with jdstrand, the resultant snap is producing symlinks to: $ unsquashfs -lls ~/Downloads/Cv7Phxozx1t5ZAW7iGQl3diszxG5venJ_11.snap |grep bin/pyth lrwxrwxrwx root/root 7 2020-07-28 21:59 squashfs-root/bin/python -> python3 lrwxrwxrwx root/root 23 2020-07-28 21:59 squashfs-root/bin/python3 -> /root/stage/bin/python3 review-tools is failing with: The store was unable to accept this snap. - package contains external symlinks: bin/python, bin/python3 To recreate, simply create a python snap on core20 (not sure if core20 is required or not). If it helps, I used snapcraft --use-lxd

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b Closed without resolution. Snapcraft 4.1.1 generated external symlinks triggering automated store rejections. Likely abandoned or resolved in a subsequent Snapcraft release that corrected symlink handling.
qwen3.6-35b-a3b-mtp-q6 Closed without documented resolution. Subsequent Snapcraft releases fixed the external symlink generation, resolving the store review failure.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1511440 python based package created using snapcraft fails review checks due to external symlink snapcraft (launchpad) closed Closed without resolution. Snapcraft-built Python2 packages failed store review checks due to external symlinks. The report received no comments or fixes and was abandoned.
86%
#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.
76%
#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.
74%
#115 build(snap): replace external symlinks to python imagecraft merged Merged a fix replacing external Python symlinks in the snap package to resolve store upload failures. Approved by two reviewers, passed CI, and updated one file to ensure valid package structure.
74%
#49 python based package created using external symlink snapcraft closed Superseded by migration to Launchpad. Resolved by excluding problematic symlinks via snapcraft.yaml exclusions, allowing Python snap packages to pass store review checks.
74%
#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.
73%
#1523384 broken symlinks when snapping a python project using requirements.txt snapcraft (launchpad) closed Closed without resolution due to inactivity. The report details broken symlinks in snap installations for Python projects using requirements.txt, but no fix or developer response was provided.
73%
#1816555 snapcraft traceback stat-ing symlink trying to enforce exec snapcraft (launchpad) closed Closed without resolution. Snapcraft crashed with a FileNotFoundError when enforcing executable permissions on a symlinked hook. Zero comments were posted, indicating the report was abandoned.
72%
#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.
70%