kconfig_compiler help ( reproducible builds )

Scarlett Clark scarlett.gately.clark at gmail.com
Thu May 26 00:10:42 BST 2016


Taking Albert's suggestion, this has been resolved.

[16:07] <sgclark> tsdgeos: hiyas yep, was just about to write haha. One
char was indeed dropped when no locale was set. export LC_ALL=C.UTF-8
before build made it reproducible which is what I needed. Thanks for your
help :)

On Wed, May 25, 2016 at 11:10 AM, Albert Astals Cid <aacid at kde.org> wrote:

> El dimecres, 25 de maig de 2016, a les 10:55:25 CEST, Scarlett Clark va
> escriure:
> > Some relevant links.
>
> My suggestion in IRC so others can see it
>  * Compile the code in the two locales that give different outputs
>  * diff the two builddir/plugins/nowlistening/nowlisteningsettings.cpp to
> see
> if this is indeed the problem.
>
> Cheers,
>   Albert
>
> >
> > On Wed, May 25, 2016 at 9:11 AM, Scarlett Clark <
> >
> > scarlett.gately.clark at gmail.com> wrote:
> > > Hi all,
> > >
> > > I am having issue with trying to make a build reproducible [1]
> > > And I have narrowed this one down to a locale issue with
> kconfig_compiler
> > > code generation
> > > has different results due to locale.
> > >
> > > <quote>
> > > you are right with your assumption that it is locale-related.
> > > The second build has an additional 0xe19085 at the beginning,
> > > which is a unicode character (triangle pointed to the right [1][2]):
> > > The first build is running in a non-utf8 locale, in which the
> > > kconfig_compiler seems to drop unicode characters.
> > > (The zeroes at the end of the diff is probably just some padding to
> fill
> > > it up to a certain length.)
> > > </quote>
> > >
> > > Can anyone give me a hint as to where to start looking to fix this? Is
> > > there a missing setting for kconfig_compiler? Please remember I am a
> > > coding
> > > NEWB.
> > >
> > > Thanks for any help you can provide.
> > > Scarlett
> >
> > Links for the quoted text.
> >
> > [1]: http://www.decodeunicode.org/en/u+1405
> > [2]:
> >
> https://sources.debian.net/src/choqok/1.5-5/plugins/nowlistening/nowlistenin
> > gsettings.kcfg/#L11
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20160525/b5e02958/attachment.htm>


More information about the kde-core-devel mailing list