Bug 35711

Summary: Compatibility levels before 10 are deprecated
Product: Koha Reporter: Magnus Enger <magnus>
Component: PackagingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, josef.moravec, mtj
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18908
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Magnus Enger 2024-01-05 14:44:16 UTC
Seeing this when trying to build custom packages: 

dh clean --fail-missing --with bash-completion
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_auto_clean -O--fail-missing
dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_clean -O--fail-missing
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)

No idea what it means, but see bug 18908 for a similar fix.
Comment 1 Jonathan Druart 2024-01-11 08:10:07 UTC
Same quote from bug 18908
https://www.debian.org/doc/manuals/maint-guide/dother.en.html
"""
5.2. compat

The compat file defines the debhelper compatibility level. Currently, you should set it to the debhelper v10 as follows:

$ echo 10 > debian/compat

You may use compat level v9 in certain circumstances for compatibility with older systems. However, using any level below v9 is not recommended and should be avoided for new packages.
"""
Comment 2 Katrin Fischer 2024-10-30 09:01:21 UTC
*** Bug 20352 has been marked as a duplicate of this bug. ***