#11857 NORM Not Tri: olpc-os-builder: x11/kspost.99.gconf-normalize.inc: locale.Error: unsupported locale setting

Zarro Boogs per Child bugtracker at laptop.org
Mon May 14 16:50:59 EDT 2012


#11857: olpc-os-builder: x11/kspost.99.gconf-normalize.inc: locale.Error:
unsupported locale setting
------------------------------------+---------------------------------------
           Reporter:  sascha_silbe  |       Owner:  dsd                               
               Type:  defect        |      Status:  new                               
           Priority:  normal        |   Milestone:  Not Triaged                       
          Component:  not assigned  |     Version:  Development source as of this date
         Resolution:                |    Keywords:                                    
        Next_action:  never set     |    Verified:  0                                 
Deployment_affected:                |   Blockedby:                                    
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by dsd):

 Should be harmless.

 Anyway, please test this imgcreate patch, if so I'll file a bug upstream.

 {{{
 --- kickstart.py.orig   2012-05-14 14:42:15.751130862 -0600
 +++ kickstart.py        2012-05-14 14:48:16.189125278 -0600
 @@ -121,7 +121,13 @@
      def call(self, args):
          if not os.path.exists("%s/%s" %(self.instroot, args[0])):
              raise errors.KickstartError("Unable to run %s!" %(args))
 -        subprocess.call(args, preexec_fn = self.chroot)
 +        env = os.environ.copy()
 +        env['LC_ALL'] = 'C'
 +        if 'LANG' in env:
 +            del env['LANG']
 +        if 'LC_CTYPE' in env:
 +            del env['LC_CTYPE']
 +        subprocess.call(args, preexec_fn = self.chroot, env = env)

      def apply(self):
          pass
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/11857#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list