Skip to content

fix: force orig tarball inclusion in source package upload#121

Merged
rtibbles merged 1 commit into
mainfrom
fix/force-orig-inclusion
Apr 1, 2026
Merged

fix: force orig tarball inclusion in source package upload#121
rtibbles merged 1 commit into
mainfrom
fix/force-orig-inclusion

Conversation

@rtibbles

@rtibbles rtibbles commented Apr 1, 2026

Copy link
Copy Markdown
Member

Summary

Add -sa flag to dpkg-buildpackage so the .orig.tar.gz is always included in the upload. Without it, dpkg assumes the orig already exists on Launchpad (since -0ubuntu2 isn't a first revision), but the noble upload has never succeeded so Launchpad silently rejects the package.

References

Reviewer guidance

One-character change: -sa flag on dpkg-buildpackage. Once the orig exists on Launchpad, this flag becomes a no-op (Launchpad deduplicates), so it's safe to keep permanently.

AI usage

Claude Code identified the root cause from the dpkg-genchanges: info: not including original source code in upload log line — the orig tarball was missing from the upload because dpkg assumed it already existed on Launchpad.

Add -sa flag to dpkg-buildpackage so the .orig.tar.gz is always
included in the upload. Without it, dpkg assumes the orig already
exists on Launchpad (since -0ubuntu2 isn't a first revision), but
the noble upload has never succeeded so Launchpad silently rejects
the package.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rtibbles rtibbles merged commit 0f1e325 into main Apr 1, 2026
14 checks passed
@rtibbles rtibbles deleted the fix/force-orig-inclusion branch April 1, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant