Skip to content

fix(deb): remove debian/compat — conflicts with debhelper-compat in Build-Depends#91

Merged
levleontiev merged 1 commit intomainfrom
fix/issue-90-debian-compat
Apr 2, 2026
Merged

fix(deb): remove debian/compat — conflicts with debhelper-compat in Build-Depends#91
levleontiev merged 1 commit intomainfrom
fix/issue-90-debian-compat

Conversation

@levleontiev
Copy link
Copy Markdown
Contributor

Root cause

dpkg-buildpackage fails with:

dh: error: debhelper compat level specified both in debian/compat and via build-dependency on debhelper-compat

debian/compat (legacy, value 13) and Build-Depends: debhelper-compat (= 13) in debian/control (modern) declare the same thing twice.

Fix

Delete debian/compat. The compat level is already correctly declared in debian/control.

After merge: tag v0.2.1 will be deleted and re-pushed to the new HEAD, along with updated CHANGELOG.

Closes #90.

Seen in: https://github.com/fairvisor/edge/actions/runs/23906593464

…uild-Depends (closes #90)

debhelper compat level is already declared via Build-Depends: debhelper-compat (= 13)
in debian/control. The legacy debian/compat file causes dpkg-buildpackage to abort
with "compat level specified both in debian/compat and via build-dependency".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@levleontiev levleontiev merged commit 538d97d into main Apr 2, 2026
8 of 11 checks passed
@levleontiev levleontiev deleted the fix/issue-90-debian-compat branch April 2, 2026 15:04
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.

fix(deb): remove debian/compat — conflicts with debhelper-compat in Build-Depends

2 participants