#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 15:47:26 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
 Keywords:                |           Next_action:  never set                         
 Verified:  0             |   Deployment_affected:                                    
Blockedby:                |              Blocking:                                    
--------------------------+-------------------------------------------------
 When building an OS image using olpc-os-builder from latest git master
 with examples/olpc-os-12.1.0-xo1.5.ini, the following error appears in the
 [https://sascha.silbe.org/tmp/121008SS1-build.log build log] despite the
 build finishing apparently successfully:

 {{{
 Executing code generated by kspost:x11/kspost.99.gconf-normalize.inc...
 Traceback (most recent call last):
   File "/usr/sbin/lokkit", line 26, in <module>
     import fw_config
   File "/usr/share/system-config-firewall/fw_config.py", line 22, in
 <module>
     locale.setlocale(locale.LC_ALL, "")
   File "/usr/lib/python2.7/locale.py", line 539, in setlocale
     return _setlocale(category, locale)
 locale.Error: unsupported locale setting
 INFO:root:Unmounting directory /tmp/imgcreate-kU0TTg/install_root
 }}}

 This happens even with LC_ALL=C. The invocation was:

 {{{
 buildnr=$(cat latestbuild) ; let buildnr++ ; time script -c 'sudo
 http_proxy=http://proxy.sascha.silbe.org.:3128/ LC_ALL=C ./osbuilder.py
 examples/olpc-os-12.1.0-xo1.5.ini' ~/"121$(printf '%03d'
 $buildnr)SS1-build.log"
 }}}

 Environment variables passed in by ssh:

 {{{
 LANG=en_GB
 LC_CTYPE=en_US.UTF-8
 }}}

 However, POSIX requires LC_ALL to
 [http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html
 override all other locale variables], so they shouldn't matter.


 Related, but not the same (as it concerns only rpm output): #11856.

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


More information about the Bugs mailing list