Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
On Fri, Nov 06, 2015 at 02:36:30PM +0100, Paul Gevers wrote: > What do you people think of even setting it to C.UTF-8? (Or am I now > hijacking this bug report for something else) "of course" (to me at least) this would be C.UTF-8, but I don't feel right at owerwriting LC_ALL that way, I'll have to think more about this, sorry. (Yes, I'm part of the reproducible builds team, but I don't think putting LC_ALL in the builder is a sane choice) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: http://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
On Wed, 05 Jul 2006 00:37:56 +0900 Junichi Uekawawrote: > > 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 ** > > I think most of the time, pbuilder-modules should be included, and > setting LC_ALL=C should cover most cases. What do you people think of even setting it to C.UTF-8? (Or am I now hijacking this bug report for something else) (This idea came up from discussions on reproducible-builds. I see that two of my packages had a slight flaws in building them because they were missing the UTF-8 support). Paul signature.asc Description: OpenPGP digital signature
Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
Hi, On Wed, Jul 05, 2006, Junichi Uekawa wrote: I would have thought LC_ALL=C should override LC_CTIME. I'm suspecting something is wrong. It does: LC_ALL=C LC_TIME=fr_FR.UTF-8 locale [...] LC_TIME=C ... but it's LC_TIME, not LC_CTIME. I second this wish, I want the uploaded result to be touched mostly by commands run within LC_ALL=C, but it would be nice to keep some commands withing the default locale, for example debsign (as it relies on the locale to convert the encoding of the UIDs on keys to the encoding of the terminal and might also spawn a passphrase prompt). -- Loïc Minier [EMAIL PROTECTED]
Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
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. I would have thought LC_ALL=C should override LC_CTIME. I'm suspecting something is wrong. 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 ** I think most of the time, pbuilder-modules should be included, and setting LC_ALL=C should cover most cases. regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#376404: [Pbuilder-maint] Bug#376404: locale settings within pbuilder sessions
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? This is at most a cosmetic thing (perl would complain loudly, but that's because it's braindead; but it does fall back to something sane, so it's not a real problem) regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]