Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions

Andreas Beckmann debian at abeckmann.de
Tue Jul 4 14:49:54 UTC 2006


Junichi Uekawa wrote:
> Hi,
> 
>> I've tried setting 'export LC_ALL=POSIX' in my .pbuilderrc, but this
>> made no difference (while 'export debian_chroot="pbuild$$"' works well).
> 
> Do you explicitly set LC_CTIME?
Yes.

Probably all helper scripts that do chroot / $CHROOTEXEC should set
LC_ALL=C first:

                              LC_ALL=C     chroot     $CHROOTEXEC
pbuilder-buildpackage            *                         *
pbuilder-buildpackage-funcs                                *
pbuilder-checkparams
pbuilder-createbuildenv                                    *
pbuilder-loadconfig
pbuilder-modules                 *            *
pbuilder-runhooks                                          *
pbuilder-satisfydepends                                    *
pbuilder-updatebuildenv                                    *
pdebuild-checkparams
pdebuild-internal

I hope, I didn't miss an occurrence.
I didn't check the call-graph/source-graph, the two LC_ALL settings
might cover most $CHROOTEXEC invokations.


Andreas




More information about the Pbuilder-maint mailing list