← Back to issue list

cleanbuild fails when source tree contains file with >65535 ownership(from LXD)

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1775585
Type
issue
State
closed
Author
~brlin
Labels
cleanbuild
Created
Updated
Closed

Current evaluation

Closed as obsolete after the separate cleanbuild command was removed; builds now clean-build transparently by default, so the old LXD failure path no longer applies.

Resolution: closed stale

Reason: Maintainer ~sergiusens noted on 2023-08-17 that cleanbuild was no longer supported because all builds now clean-build transparently by default. The affected command was decommissioned, and no resolving PR or commit was cited.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The source tree archiving process failed with: ``` ./poedit_2.0.8+git-1_amd64.deb tar: ./poedit_2.0.8+git-1_amd64.deb: Cannot change ownership to uid 100000, gid 100000: Invalid argument ./AUTHORS ``` poedit_2.0.8+git-1_amd64.deb is a file created in an LXD container as root, which translates to `100000` outside the container.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed as obsolete after the separate cleanbuild command was removed; builds now clean-build transparently by default, so the old LXD failure path no longer applies.
stealth/space-bunny-alpha — closed not a bug Closed as obsolete: the separate cleanbuild command was removed because all builds now clean-build transparently by default.
stealth/space-bunny-alpha — closed stale LXD-mapped uid 100000 caused a cleanbuild tar failure; closed without a linked fix after 1,134 days of inactivity.
qwen/qwen3.6-35b-a3b — — cleanbuild tar archiving fails on files with UIDs or GIDs exceeding 65535, common in LXD containers. The report was closed without resolution.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The cleanbuild tar failure on files with UID/GID over 65535 from LXD containers was abandoned and not merged or fixed.
qwen/qwen3.6-35b-a3b — — Archiving source trees with files exceeding UID/GID 65535, common in LXD, causes cleanbuild to fail. The issue was closed without a fix or resolution, indicating it was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Cleanbuild tar archiving failed when processing files with UIDs/GIDs over 65535 from LXD containers. Closed without comments or documented resolution, indicating the report was likely abandoned or resolved externally.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1752498 cleanbuild fails with lxd snap snapcraft (launchpad) closed Closed as obsolete: the cleanbuild command was removed; Snapcraft builds now perform clean builds by default.
76%
#1661064 cleanbuild should support ignoring things in its tarball snapcraft (launchpad) closed Closed as obsolete after bases/build environments replaced the old LXD cleanbuild design; hardcoded .tox exclusion PR #1098 was closed unmerged.
71%
#1788654 snapcraft cleanbuild doesn't work with cross-compile stage-packages snapcraft (launchpad) closed Closed as an obsolete legacy cleanbuild/LXD issue after a maintainer directed users to migrate to bases; no targeted cross-architecture fix was recorded.
71%