Bug 35711 - Compatibility levels before 10 are deprecated
Summary: Compatibility levels before 10 are deprecated
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-05 14:44 UTC by Magnus Enger
Modified: 2024-10-30 09:01 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***