Re: Automatically satisfying Build-Depends from local control file

2013-04-19 Thread Joachim Breitner
Hi, Am Donnerstag, den 18.04.2013, 19:28 -0700 schrieb Nikolaus Rath: > Joachim Breitner writes: > > Am Dienstag, den 16.04.2013, 21:19 -0700 schrieb Nikolaus Rath: > >> Has someone already written a tool to automate this? I.e., parse > >> debian/control and run the appropriate apt-get command? >

Re: Automatically satisfying Build-Depends from local control file

2013-04-19 Thread Antti-Juhani Kaijanaho
On Thu, Apr 18, 2013 at 07:21:32PM -0700, Nikolaus Rath wrote: > No, it's not quite as bad. The following works as well: > > dpkg --force-depends -i build-deps.deb && apt-get -f install Why force-depends? Why not dpkg --unpack? -- AJK -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.d

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Stéphane Glondu
Le 18/04/2013 12:07, Marc Haber a écrit : >> The tool you are looking for is "mk-build-deps" from the package >> "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependencites, put that .deb into an local > aptable archive, run apt-get upd

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Nikolaus Rath
Joachim Breitner writes: > Hi, > > Am Dienstag, den 16.04.2013, 21:19 -0700 schrieb Nikolaus Rath: >> Has someone already written a tool to automate this? I.e., parse >> debian/control and run the appropriate apt-get command? > > The package haskell-debian-utils contains a program named > apt-get-

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Nikolaus Rath
Marc Haber writes: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy > wrote: >>The tool you are looking for is "mk-build-deps" from the package "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependencites, put that .deb into an local

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Joachim Breitner
Hi, Am Dienstag, den 16.04.2013, 21:19 -0700 schrieb Nikolaus Rath: > Has someone already written a tool to automate this? I.e., parse > debian/control and run the appropriate apt-get command? The package haskell-debian-utils contains a program named apt-get-build-depends that does exactly that.

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Tollef Fog Heen
]] Neil Williams > The code to do this exists, it up to you to use it instead of whinging > about the Social Contract, *again*. (Always the last resort of those > who only want to complain without actually writing some code.) That's not a particularly useful comment in this context as the bug in

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Eugene V. Lyubimkin
Hi, 2013-04-16 21:19, Nikolaus Rath: > Has someone already written a tool to automate this? I.e., parse > debian/control and run the appropriate apt-get command? If you not fear using a different package manager, try this: http://people.debian.org/~jackyf/cupt-satisfy-control-deps (parser sucks,

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Neil Williams
On Thu, 18 Apr 2013 18:42:10 +0200 Marc Haber wrote: > And because we want to do a really really good solution, a ten year > old wishlist bug which has a patch in the BTS for three years remains > unsolved? It's wishlist - I dread to think how many higher severity bugs have been opened and clos

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Marc Haber
On Thu, 18 Apr 2013 12:27:15 +0200, Jakub Wilk wrote: >Or just pass -i to mk-build-deps, which does all the steps for you. Missed that. Sorry. Thanks. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber | " Questions are the

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Marc Haber
On Thu, 18 Apr 2013 12:32:50 +0200, Jakub Wilk wrote: >* Lars Wirzenius , 2013-04-18, 11:19: >>ideally, dpkg-checkbuilddeps could have an output mode that just lists >>the package names and could be fed to apt-get install: >> >>apt-get install $(dpkg-checkbuilddeps --package-names-only) > >#2

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Marc Haber
On Thu, 18 Apr 2013 18:13:08 +0800, Paul Wise wrote: >On Thu, Apr 18, 2013 at 6:07 PM, Marc Haber wrote: >> On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy wrote: >>>The tool you are looking for is "mk-build-deps" from the package >>>"devscripts". >> >> So one uses mk-build-deps to create a .d

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread David Kalnischkies
On Thu, Apr 18, 2013 at 12:07 PM, Marc Haber wrote: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy > wrote: >>The tool you are looking for is "mk-build-deps" from the package "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependenc

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Goswin von Brederlow
On Tue, Apr 16, 2013 at 09:19:27PM -0700, Nikolaus Rath wrote: > Hello, > > When downloading a source package from somewhere else, I often find > myself in the situation that after.. If by downloading you mean "apt-get source foo" then the answere is: apt-get build-dep foo Otherwise there is

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Lars Wirzenius
On Thu, Apr 18, 2013 at 04:13:32PM +0200, Tollef Fog Heen wrote: > ]] Lars Wirzenius > > > - if it's a lot of packages, I construct a complicated sed > > and awk and so on pipeline to extract the package names > > and feed those to apt-get install > > Aka /usr/lib/pbuilder/pbuild

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Tollef Fog Heen
]] Lars Wirzenius > - if it's a lot of packages, I construct a complicated sed > and awk and so on pipeline to extract the package names > and feed those to apt-get install Aka /usr/lib/pbuilder/pbuilder-satisfydepends ? -- Tollef Fog Heen UNIX is user friendly, it's just picky

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Christoph Egger
Hi! Marc Haber writes: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy > wrote: >>The tool you are looking for is "mk-build-deps" from the package "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependencites, put that .deb into an

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Jakub Wilk
* Lars Wirzenius , 2013-04-18, 11:19: ideally, dpkg-checkbuilddeps could have an output mode that just lists the package names and could be fed to apt-get install: apt-get install $(dpkg-checkbuilddeps --package-names-only) #214566 -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-devel-

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Jakub Wilk
* Marc Haber , 2013-04-18, 12:07: The tool you are looking for is "mk-build-deps" from the package "devscripts". So one uses mk-build-deps to create a .deb containing the build dependencies as binary dependencites, put that .deb into an local aptable archive, run apt-get update and apt-get inst

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Neil Williams
On Thu, 18 Apr 2013 12:07:25 +0200 Marc Haber wrote: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy > wrote: > >The tool you are looking for is "mk-build-deps" from the package > >"devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary d

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Lars Wirzenius
On Thu, Apr 18, 2013 at 12:07:25PM +0200, Marc Haber wrote: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy > wrote: > >The tool you are looking for is "mk-build-deps" from the package > >"devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as bin

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Paul Wise
On Thu, Apr 18, 2013 at 6:07 PM, Marc Haber wrote: > On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy wrote: >>The tool you are looking for is "mk-build-deps" from the package "devscripts". > > So one uses mk-build-deps to create a .deb containing the build > dependencies as binary dependencites,

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Marc Haber
On Wed, 17 Apr 2013 09:45:32 +0100, Roger Leigh wrote: >On Tue, Apr 16, 2013 at 09:19:27PM -0700, Nikolaus Rath wrote: >> Has someone already written a tool to automate this? I.e., parse >> debian/control and run the appropriate apt-get command? >> >> I think I am *not* looking for apt-get build-

Re: Automatically satisfying Build-Depends from local control file

2013-04-18 Thread Marc Haber
On Wed, 17 Apr 2013 14:05:47 +0900, Charles Plessy wrote: >The tool you are looking for is "mk-build-deps" from the package "devscripts". So one uses mk-build-deps to create a .deb containing the build dependencies as binary dependencites, put that .deb into an local aptable archive, run apt-get

Re: Automatically satisfying Build-Depends from local control file

2013-04-17 Thread Neil Williams
On Tue, 16 Apr 2013 21:19:27 -0700 Nikolaus Rath wrote: > When downloading a source package from somewhere else, I often find > myself in the situation that after.. > > $ dpkg-buildpackage -us -uc > > Has someone already written a tool to automate this? I.e., parse > debian/control and run the ap

Re: Automatically satisfying Build-Depends from local control file

2013-04-17 Thread Roger Leigh
On Tue, Apr 16, 2013 at 09:19:27PM -0700, Nikolaus Rath wrote: > Has someone already written a tool to automate this? I.e., parse > debian/control and run the appropriate apt-get command? > > I think I am *not* looking for apt-get build-deps, because I'm talking > about source packages not include

Re: Automatically satisfying Build-Depends from local control file

2013-04-16 Thread Carlos Alberto Lopez Perez
On 17/04/13 06:19, Nikolaus Rath wrote: > Hello, > > When downloading a source package from somewhere else, I often find > myself in the situation that after.. > > $ dpkg-buildpackage -us -uc > [...] > dpkg-checkbuilddeps: Unmet build dependencies: libreadline6-dev > libncursesw5-dev (>= 5.3) li

Re: Automatically satisfying Build-Depends from local control file

2013-04-16 Thread Charles Plessy
Le Tue, Apr 16, 2013 at 09:19:27PM -0700, Nikolaus Rath a écrit : > > When downloading a source package from somewhere else, I often find > myself in the situation that after.. > > $ dpkg-buildpackage -us -uc > [...] > dpkg-checkbuilddeps: Unmet build dependencies: libreadline6-dev > libncursesw

Automatically satisfying Build-Depends from local control file

2013-04-16 Thread Nikolaus Rath
Hello, When downloading a source package from somewhere else, I often find myself in the situation that after.. $ dpkg-buildpackage -us -uc [...] dpkg-checkbuilddeps: Unmet build dependencies: libreadline6-dev libncursesw5-dev (>= 5.3) libbz2-dev liblzma-dev libgdbm-dev libdb-dev tk8.5-dev blt-