Bug#863361: dgit-user(7): replace apt-get build-deps with mk-build-deps

2017-05-30 Thread Ian Jackson
David Kalnischkies writes ("Re: Bug#863361: dgit-user(7): replace apt-get 
build-deps with mk-build-deps"):
> I would recommend not to recommend it because apt follows the general
> recommendation of not recommending the installation of recommendations
> of build-dependencies by default for all recommended Debian releases.

When you install the build-depends for unfamiliar programs, you are
trying to debug, do you install recommends ?  I have found that it is
usually wiser not to.

Installing the recommends of build-depends typically shovels in
massive piles of junk, which is (a) a big download (b) often contains
daemons and other weirdness that is obviously not needed.

Ian.



Bug#863361: dgit-user(7): replace apt-get build-deps with mk-build-deps

2017-05-28 Thread David Kalnischkies

On Fri, May 26, 2017 at 03:33:17PM +0100, Ian Jackson wrote:
> Emilio Pozuelo Monfort writes ("Re: A proposal for a tool to build local 
> testing debs"):
> > Or you can just do
> > 
> > $ sudo apt-get build-dep ./
[…]
> Probably we should recommend --no-install-recommends.

I would recommend not to recommend it because apt follows the general
recommendation of not recommending the installation of recommendations
of build-dependencies by default for all recommended Debian releases.

Recommended summary: Already the default since 2011.

Recommending everyone to have a wonderful day,

David Kalnischkies


signature.asc
Description: PGP signature


Bug#863361: dgit-user(7): replace apt-get build-deps with mk-build-deps [and 2 more messages]

2017-05-26 Thread Ian Jackson
(CCing Nikolaus's bug.)

Emilio Pozuelo Monfort writes ("Re: A proposal for a tool to build local 
testing debs"):
> Or you can just do
> 
> $ sudo apt-get build-dep ./

That's not available in jessie of course, but ISTM that this is the
right answer for stretch.  I won't upload a new dgit to stretch to
change this but I think I should change this in buster.

Probably we should recommend --no-install-recommends.

Ian.



Bug#863361: dgit-user(7): replace apt-get build-deps with mk-build-deps

2017-05-25 Thread Nikolaus Rath
Package: dgit
Version: 3.10~bpo8+1
Severity: normal

Please consider replacing

% sudo apt-get build-dep glibc

with

% mk-build-dep --root-cmd=sudo --install

That way, you won't get bitten if the build deps of the new package
differ from the build deps of the package in the archive.

Does build-dep require deb-src in sources.list? If so, the above removes
that requirement as well.

mk-build-deps is shipped by devscripts.