[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it okay to bump dh-compat?

Hi Roberto,

On Fri, Feb 21, 2020 at 10:16 PM Roberto C. Sánchez <roberto@debian.org> wrote:
> > Whilst working on libpam-radius-auth, I noticed that d/compat has
> > value "4" which throws the following error:
> >
> > dh_clean: error: Compatibility levels before 5 are no longer supported
> > (level 4 requested)
> >
> > Would it be okay to bump d/compat to 5 (or maybe 7) in such a case?
> Better to leave as is and use the -nc option to your build command to
> prevent it attempting to run the 'clean' target in the host environment.

Ah, TIL; thank you! \o/
However, sbuild doesn't really support -nc, does it? Or am I missing something?

Another thing that I wanted to know was,
Is it okay to add d/source/format file? Or should I instead be
applying patches via d/rules file?

Because right now, there's no format file so using d/patches/
directory (like we generally do) messes up the build real bad.


Reply to: