Re: Use, "Depends: locales-all|locales" or not

2010-01-08 Thread Roger Leigh
On Fri, Jan 08, 2010 at 10:50:25AM +0100, Adam Borowski wrote: > On Thu, Jan 07, 2010 at 09:50:23AM -0800, Russ Allbery wrote: > > The problem is that Lintian depends on locales, but it doesn't just depend > > on the locales package. Having locales installed doesn't help. Lintian > > specifically

Re: Use, "Depends: locales-all|locales" or not

2010-01-08 Thread Roger Leigh
On Thu, Jan 07, 2010 at 04:17:35PM -0800, Russ Allbery wrote: > Roger Leigh writes: > > > AFAICT just set the LOCPATH environment variable and all programs will > > pick it up (in addition to LC_xxx to make your locale get used). You > > might not even need to restart lintian, since you can do t

Re: Use, "Depends: locales-all|locales" or not

2010-01-08 Thread Adam Borowski
On Thu, Jan 07, 2010 at 09:50:23AM -0800, Russ Allbery wrote: > The problem is that Lintian depends on locales, but it doesn't just depend > on the locales package. Having locales installed doesn't help. Lintian > specifically depends on having a UTF-8 locale available. > > The best solution is

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Russ Allbery
Roger Leigh writes: > AFAICT just set the LOCPATH environment variable and all programs will > pick it up (in addition to LC_xxx to make your locale get used). You > might not even need to restart lintian, since you can do the generation, > set the environment and then just call setlocale() to s

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Roger Leigh
On Thu, Jan 07, 2010 at 11:48:18AM -0800, Russ Allbery wrote: > Roger Leigh writes: > > On Thu, Jan 07, 2010 at 09:50:23AM -0800, Russ Allbery wrote: > > >> Absent that, we're considering adding some sort of ugly hack to Lintian > >> to force the locales package to generate a UTF-8 locale if one

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Russ Allbery
Roger Leigh writes: > On Thu, Jan 07, 2010 at 09:50:23AM -0800, Russ Allbery wrote: >> Absent that, we're considering adding some sort of ugly hack to Lintian >> to force the locales package to generate a UTF-8 locale if one isn't >> already available. Unfortunately, there's no straightforward w

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Roger Leigh
On Thu, Jan 07, 2010 at 09:50:23AM -0800, Russ Allbery wrote: > The package itself doesn't depend on locales in this case, though. > > The problem is that Lintian depends on locales, but it doesn't just depend > on the locales package. Having locales installed doesn't help. Lintian > specificall

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Russ Allbery
Osamu Aoki writes: > On Wed, Jan 06, 2010 at 04:43:28PM -0800, Russ Allbery wrote: >> echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' >> \ >> | debconf-set-selections >> aptitude install locales > I thought manual configuration of build environment should not be

Re: Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Roger Leigh
On Fri, Jan 08, 2010 at 12:36:44AM +0900, Osamu Aoki wrote: > Hi, > > On Wed, Jan 06, 2010 at 04:43:28PM -0800, Russ Allbery wrote: > > Ben Finney writes: > > > Russ Allbery writes: > ... > > > In a minimal ‘pbuilder’ environment, this is happening all the time for > > > me now. What should use

Use, "Depends: locales-all|locales" or not

2010-01-07 Thread Osamu Aoki
Hi, On Wed, Jan 06, 2010 at 04:43:28PM -0800, Russ Allbery wrote: > Ben Finney writes: > > Russ Allbery writes: ... > > In a minimal ‘pbuilder’ environment, this is happening all the time for > > me now. What should users of ‘pbuilder’ be doing to avoid this problem? > > Install locales in you