Skip to content

Commit a664c8d

Browse files
replace debian/compat with debhelper-compat
While building the package, by using equivs-build and debian/control file, I got the following error: ``` root@a625b7a1de7c:/mpv-build# equivs-build --full debian/control dpkg-buildpackage: info: source package mpv dpkg-buildpackage: info: source version 1.0 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Kevin Mitchell <[email protected]> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules clean dh clean dh: error: Please specify the compatibility level in debian/compat or via Build-Depends: debhelper-compat (= X) make: *** [debian/rules:3: clean] Error 255 dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 Error in the build process: exit status 2 ``` Based on the error message, I replaced debian/compat with debhelper-compate (= 12) in debian/control file. The existing compat file didn't help to build the package. [Reference](FooBarWidget/debian-packaging-for-the-modern-developer#8 (comment)) Changes to be committed: deleted: compat modified: control
1 parent 87f0c1e commit a664c8d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

debian/compat

-1
This file was deleted.

debian/control

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Build-Depends:
88
automake,
99
c-compiler | gcc,
1010
debhelper (>= 12),
11+
debhelper-compat (= 12),
1112
glslang-dev,
1213
ladspa-sdk,
1314
libasound2-dev [linux-any],

0 commit comments

Comments
 (0)