← Back to issue list

python3 plugin cannot create hard link

View original Launchpad issue

Metadata

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

Current evaluation

python3 plugin fails during parts phase on Xenial with tar hard link error (python3.5 vs python3.5m). Untriaged, no comments, ~9.7 years old. The python3 plugin has since been removed from snapcraft (commit 958b58615, PR #2325), making the issue obsolete.

Suggested action: close stale

Reason: The issue is 3632 days old with zero comments and no maintainer interaction. The python3 plugin it references was explicitly removed from snapcraft in commit 958b58615 (PR #2325: 'plugins: remove the python2 and python3 plugin when using a base'), and the affected Xenial base is no longer supported. The original problem is no longer reproducible in the current codebase.

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

Issue body

The python3 plugin fails on my xenial host during the parts phase. tar: ./usr/bin/python3.5: Cannot hard link to ‘./usr/bin/python3.5m’: From snapcraft.yaml parts: find-text: plugin: python3 source: src $ snapcraft clean $ snapcraft snap ... tar: ./usr/bin/python3.5: Cannot hard link to ‘./usr/bin/python3.5m’: Operation not permitted tar: Exiting with failure status due to previous errors dpkg-deb: error: subprocess tar returned error exit status 2 /home/curtis/Work/find-text/parts/find-text/ubuntu/download/python3.5-minimal_3.5.2-2~16.01_amd64.deb $ ls /home/curtis/Work/find-text/parts/find-text/install/usr/bin/python* python3.5m-config python3-config python3m python3m-config python3.5-config python3.5m This is repeatable with the dcos-cli plugin from https://github.com/ubuntu/snappy-plaype This issue was first reported at https://github.com/ubuntu/snappy-playpen/issues/232

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 9.0
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale python3 plugin fails during parts phase on Xenial with tar hard link error (python3.5 vs python3.5m). Untriaged, no comments, ~9.7 years old. The python3 plugin has since been removed from snapcraft (commit 958b58615, PR #2325), making the issue obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 15
close stale python3 plugin fails during snapcraft build on Ubuntu Xenial due to tar hard link permission errors. Issue is nearly 10 years old and references an unsupported OS.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 5
close stale Python3 snapcraft plugin fails to create hard links during packaging on older Ubuntu systems. Unaddressed for nearly a decade with no maintainer interaction or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 15
close stale Reports a python3 plugin hard link failure during snapcraft build on Ubuntu Xenial. No maintainer response or labels in nearly a decade.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 10
close stale python3 plugin fails during snap build when tar cannot create hard links to python3 binaries on Ubuntu Xenial. Remains unresolved with zero comments, years of inactivity, and requires triage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#2325 (confidence 80%)

    Commit 958b58615 removed the python2 and python3 plugins when using a base, eliminating the code path that produced the tar hard link failure described in this issue.

Related issues

No related issues found above the similarity threshold.