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

Re: Is it okay to bump dh-compat?



On Fri, Feb 21, 2020 at 10:37:06PM +0530, Utkarsh Gupta wrote:
> 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?
> 

I don't use sbuild, so I'm not sure.

The -nc option is listed in the dpkg-buildpackage man page.  The long
form is --no-pre-clean.  You might try that.  Also, check the sbuild man
page, as it must have a way to not run the 'clean' target at the start.

Regards,

-Roberto

-- 
Roberto C. Sánchez


Reply to: