[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812899: libsm: please make the build reproducible (locale)



On Mon, Feb  1, 2016 at 16:20:22 +0100, Jérémy Bobbio wrote:

> Julien Cristau:
> > On Wed, Jan 27, 2016 at 18:48:18 +0100, Jérémy Bobbio wrote:
> > 
> > > Source: libsm
> > > Version: 2:1.2.2-1
> > > Severity: wishlist
> > > Tags: patch
> > > User: reproducible-builds@lists.alioth.debian.org
> > > Usertags: locale
> > > 
> > > Hi!
> > > 
> > > While working on the “reproducible builds” effort [1], we have noticed
> > > that libsm could not be built reproducibly.
> > > 
> > > The attached patch makes sure the text documentation is always generated
> > > using a UTF-8 locale. Once applied, libsm can be built reproducibly in
> > > our current experimental framework.
> > > 
> > That patch is not suitable for upstream, since the C.UTF-8 locale is
> > non-standard.
> 
> Fair enough. Any suggestions then? Using `en_US.UTF-8` and `locales-all`
> in Build-Depends? Unsetting LANG, LC_ALL and LC_CTYPE?
> 
en_US.UTF-8 is also not guaranteed, so not suitable; C would work, but
then generate uglier docs.  The only workaround I can think of right now
is to set LC_ALL=C.UTF-8 in debian/rules directly rather than
shoe-horning that into the upstream makefile.

Cheers,
Julien


Reply to: