no debhelper-compat 12 on PPA

Asked by Devin Plauche on 2020-08-17

The local machine the package is getting built on requires debhelper-compat version 12, when we push it to the PPA, however, the build fails because debhelper-compat 12 isn't supported. Does launchpad need to add support for that? or is there something that we can do on our end?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2020-08-17
Last reply:
2020-08-17
Colin Watson (cjwatson) said : #1

This isn't a matter of Launchpad having support for it; it depends on the version of debhelper that's available in the Ubuntu series you're building for.

If you're building for bionic, then you can try using "Edit PPA dependencies" on your PPA and setting the "Ubuntu dependencies" field to "Backports", which will give you debhelper 12.1.1ubuntu1~ubuntu18.04.1 in bionic-backports. This may work.

However, in general, I don't recommend attempting to backport debhelper. It's usually much simpler to reduce your debhelper-compat dependency to a version that's available in the Ubuntu series that you're building for. You can use "rmadison debhelper" to see a brief tabular summary of what's available where, and see the "COMPATIBILITY LEVELS" section in "man debhelper" for a summary of what's changed between the different compatibility levels. If you're backporting a package that has its history in revision control, you can also try looking back through its history to find the commit that bumped the compatibility level to 12 (if any), and that may give you a hint as to how to backport it to earlier levels.

Can you help with this problem?

Provide an answer of your own, or ask Devin Plauche for more information if necessary.

To post a message you must log in.