Re: Packages removing alternatives on upgrade

2012-10-07 Thread Russ Allbery
Ivan Shmakov writes: > ? How is the ‘if’ statement above different to, say: > case "$1" in > (remove) > update-alternatives --remove > ;; > esac It's not; what it *is* different from is the more common case construction, which instead looks like: case "$1" in (

Re: Packages removing alternatives on upgrade

2012-10-07 Thread Ivan Shmakov
> Russ Allbery writes: […] > It's an improvement. Guillem makes a good argument that you should > drop deconfigure as well, which means that: > if [ "$1" = "remove" ] ; then > update-alternatives --remove > fi > is probably the best thing to use right now. […] > (Note that

Re: Re: assumptions about the build environment.

2012-10-07 Thread Roger Leigh
On Sun, Oct 07, 2012 at 11:54:40AM +0200, Eric Valette wrote: > I'm currently trying to compile armhf package for the rasberry pi on > a amd64 machine and naively though it would be easy to do with > multiarch. I screwed my machines(replaced the dynamic linkers, ftp > and other tools by arm binarie

Re: assumptions about the build environment.

2012-10-07 Thread Roger Leigh
On Sun, Oct 07, 2012 at 10:58:31AM +0200, Jakub Wilk wrote: > More questions about build env assumptions: > > Can you assume that /sbin and /usr/sbin are within PATH? At which point(s) during the build? For sbuild: During any command run as the build user (*not* root), it will default to m

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-07 Thread Julien Cristau
On Fri, Oct 5, 2012 at 23:16:05 +0200, Andreas Beckmann wrote: > Hi, > > I haven't made a detailed analysis, yet, and cannot say how many > packages would be affected. Right now I have about 100 candidate > piuparts logs that should cover /var/run and /var/lock, but I haven't > sorted them in "b

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-07 Thread Thomas Goirand
On 10/06/2012 03:16 PM, Thomas Goirand wrote: On 10/06/2012 05:46 AM, Andreas Beckmann wrote: Anyone who wants to take this easy job? Since I don't have to analyze piuparts logs for getting the data ... Andreas Hi, I'll try to send bugs *with patches* over this week end. Thomas Goirand (zigo

Re: Re: assumptions about the build environment.

2012-10-07 Thread Eric Valette
While working on debian one thing I have not managed to find is documentation on what packages can and can't assume about the build environment. Does such documentation exist and if not should it be created. Some specific cases i'm wondering about: I just discovered that on my beagleboard XM (un

Re: assumptions about the build environment.

2012-10-07 Thread Jakub Wilk
More questions about build env assumptions: Can you assume that /sbin and /usr/sbin are within PATH? Can you assume that the SHELL environment variable (_not_ the makefile variable) is set to something §10.4-compliant? (My personal answers to these questions are: no and no.) -- Jakub Wilk