Web lists-archives.com

Re: A proposal for a tool to build local testing debs




On Thu, 25 May 2017 11:59:25 -0700
Nikolaus Rath <Nikolaus@xxxxxxxx> wrote:

> On May 25 2017, Sean Whitton <spwhitton@xxxxxxxxxxxxxx> wrote:
> > Then in dgit-user(7), the SUMMARY would become
> >
> > SUMMARY
> >        (These runes will be discussed later.)
> >
> >            % dgit clone glibc jessie,-security
> >            % cd glibc
> >            % wget 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=28250;mbox=yes;msg=89' | patch -p1 -u
> >            % git commit -a -m 'Fix libc lost output bug'
> >            % sudo apt-get build-dep glibc
> 
> I think the last line should better be
> 
> $ mk-build-deps -i
> 
> ..in that case 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.

Yes, deb-src line is needed in sources.list.
And build-dep command requires the package already in the archive.

So maybe it's better to use command below to fit all cases:
  mk-build-deps --root-cmd sudo --install --tool "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends"
(from wiki [0])

[0] https://wiki.debian.org/Mentors/Review

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Attachment: pgpaJGbgNlPbx.pgp
Description: PGP signature