Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Wouter Verhelst
On Mon, Jul 02, 2007 at 03:28:05PM +0200, Simon Richter wrote: >> Running debian-rules can always have side effects and can actively >> rely on them so a "--has-target" can not be implemented cleanly in >> make. > > I am proposing hooking into the logic that ultimately decides that > there is no su

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Wouter Verhelst
On Fri, Jun 29, 2007 at 11:11:04PM +0200, Bill Allombert wrote: > One of the issue is that tools like sbuild and pbuilder which want to > take advantage of the Build-Depends-Indep split needs to know whether > dpkg-buildpackage will call debian/rules build or build-arch. It needs to know no such t

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Adam Borowski
On Tue, Jul 03, 2007 at 10:01:47AM -0700, Steve Langasek wrote: > On Tue, Jul 03, 2007 at 09:54:03AM +0200, Adam Borowski wrote: > > So, an idea: what about checking "make -f /dev/null blah 2>/dev/null" first, > > for some portability? > > What 'blah' are you planning to use that's guaranteed to n

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Steve Langasek
On Tue, Jul 03, 2007 at 06:07:54PM +0100, Ian Jackson wrote: > Steve Langasek writes ("Re: Bug#229357: Can we require build-arch/indep > targets for lenny?"): > > Attached is a patch to dpkg which implements a check for a 'build-arch' > > target using 'make -f debian/rules -qn build-arch'. > Why

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Sam Hocevar
On Tue, Jul 03, 2007, Steve Langasek wrote: > > So, an idea: what about checking "make -f /dev/null blah 2>/dev/null" first, > > for some portability? > > What 'blah' are you planning to use that's guaranteed to not have broken > side-effects in some cases on Debian packages? How about: "blah

Bug#431597: dpkg-shlibdeps doesn't parse "include" in ld.so.conf

2007-07-03 Thread Goswin von Brederlow
Package: dpkg-dev Version: 1.13.25 Severity: important File: /usr/bin/dpkg-shlibdeps Hi, it seems that dpkg-shlibdeps is somewhat out of sync with glibc/binutils in regards to the ld.so.conf syntax. There are two things wrong: 1. # Support system library directories. my $ldconfigdir = '/lib/

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Ian Jackson
Simon Richter writes ("Re: Bug#229357: Can we require build-arch/indep targets for lenny?"): > The entire issue circles around not being able to reliably detect > whether the target is present using a simple script. But who said it has > to be a script? We want the package to _declare_ whether

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Ian Jackson
Steve Langasek writes ("Re: Bug#229357: Can we require build-arch/indep targets for lenny?"): > Attached is a patch to dpkg which implements a check for a 'build-arch' > target using 'make -f debian/rules -qn build-arch'. Why are we so resistant to the new debian/control field ? That doesn't req

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Steve Langasek
On Tue, Jul 03, 2007 at 09:54:03AM +0200, Adam Borowski wrote: > On Mon, Jul 02, 2007 at 09:26:23PM -0700, Steve Langasek wrote: > > I believe the attached patch has the following characteristics: > > - Behavior on systems where 'make' is not GNU make is undefined. > > Specifically, on such a sys

Bug#229357: Can we require build-arch/indep targets for lenny?

2007-07-03 Thread Adam Borowski
On Mon, Jul 02, 2007 at 09:26:23PM -0700, Steve Langasek wrote: > I believe the attached patch has the following characteristics: > - Behavior on systems where 'make' is not GNU make is undefined. > Specifically, on such a system dpkg is likely to either conclude that > /all/ packages support '