[Sugar-devel] [TurtleArt]: Compile error with jhbuild

s.boutayeb at free.fr s.boutayeb at free.fr
Tue Sep 27 06:29:09 EDT 2011


Hi all,

TurtleArt has a building issue (in jhbuikd in Debian Squeeze). I cc the
localization list, assuming this issue is related with the localized pl.po file
(according to the log below):


*** Building turtleart *** [23/26]
python setup.py fix_manifest
WARNING: The fix_manifest command is obsolete.
         The MANIFEST file is no longer used in bundles,
         please remove it.
python setup.py build
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2055: Double
définition de message...
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2034: ...voici
l'endroit de la première occurence
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2071: Double
définition de message...
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2030: ...voici
l'endroit de la première occurence
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2095: Double
définition de message...
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2038: ...voici
l'endroit de la première occurence
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2116: Double
définition de message...
/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2041: ...voici
l'endroit de la première occurence
msgfmt: 4 erreurs fatales trouvées
ERROR - msgfmt failed with return code 1.
Traceback (most recent call last):
  File "setup.py", line 32, in <module>
    bundlebuilder.start()
  File
"/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
line 404, in start
    globals()['cmd_' + args[0]](config, args[1:])
  File
"/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
line 379, in cmd_build
    builder.build()
  File
"/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
line 105, in build
    self.build_locale()
  File
"/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
line 137, in build_locale
    cat = gettext.GNUTranslations(open(mo_file, 'r'))
IOError: [Errno 2] No such file or directory:
'/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/locale/pl/LC_MESSAGES/org.laptop.TurtleArtActivity.mo'
*** Error during phase build of turtleart: ########## Error running python
setup.py build *** [23/26]



More information about the Sugar-devel mailing list