On 05/15/2012 07:40 PM, Armin K. wrote:
> On 05/15/2012 07:33 PM, John Burrell wrote:
>>
>>
>>>>
>>>> But that text doesn't seem to be in gedit-3.4.1.
>>>>
>>>> ĸen
>>>
>>> I was looking at git commits between 3.4.0 and 3.4.1 and only similar
>>> language was Bulgarian. I can't check. I have compiled 3.4.1 without any
>>> problems.
>>
>> I tried to post the tail of the make log but it turned out to be more than 
>> 50 kB so the moderator bounced it.
>>
>> I can email you the entire log if you wish. I won't be able to post much of 
>> it here.
>>
>> jb.
>>                                      
>
> Sure, go ahead.

if ! test -d "bg/"; then mkdir "bg/"; fi
msgfmt -o "bg/bg.mo" "bg/bg.po"
if ! test -d "bg/"; then mkdir "bg/"; fi
if test -d "C"; then d="../"; else 
d="/usr/src/gnomeAddUtils/gedit/gedit-3.4.1/help/"; fi; \
mo="bg/bg.mo"; \
if test -f "${mo}"; then mo="../${mo}"; else 
mo="/usr/src/gnomeAddUtils/gedit/gedit-3.4.1/help/${mo}"; fi; \
(cd "bg/" && itstool -m "${mo}" ${d}/C/gedit-change-color-scheme.page 
${d}/C/gedit-change-default-font.page ${d}/C/gedit-close-file.page 
${d}/C/gedit-create-new-file.page ${d}/C/gedit-edit-as-root.page 
${d}/C/gedit-files-basic.page ${d}/C/gedit-full-screen.page 
${d}/C/gedit-open-files-from-sidepane.page ${d}/C/gedit-open-files.page 
${d}/C/gedit-open-on-server.page ${d}/C/gedit-open-recent.page 
${d}/C/gedit-plugin-guide.page ${d}/C/gedit-plugins-bookmarks.page 
${d}/C/gedit-plugins-bracket-comp.page 
${d}/C/gedit-plugins-change-case.page 
${d}/C/gedit-plugins-character-map.page 
${d}/C/gedit-plugins-code-assistance.page 
${d}/C/gedit-plugins-code-comment.page 
${d}/C/gedit-plugins-color-picker.page 
${d}/C/gedit-plugins-commander.page ${d}/C/gedit-plugins-dashboard.page 
${d}/C/gedit-plugins-doc-stats.page 
${d}/C/gedit-plugins-draw-spaces.page 
${d}/C/gedit-plugins-external-tools.page 
${d}/C/gedit-plugins-file-browser.page 
${d}/C/gedit-plugins-insert-date-time.page 
${d}/C/gedit-plugins-install.page 
${d}/C/gedit-plugins-join-split-lines.page 
${d}/C/gedit-plugins-modelines.page ${d}/C/gedit-plugins-multi-edit.page 
${d}/C/gedit-plugins-pyconsole.page ${d}/C/gedit-plugins-quick-open.page 
${d}/C/gedit-plugins-session-saver.page 
${d}/C/gedit-plugins-snippets-guide.page 
${d}/C/gedit-plugins-snippets.page ${d}/C/gedit-plugins-sort.page 
${d}/C/gedit-plugins-tag-list.page ${d}/C/gedit-plugins-terminal.page 
${d}/C/gedit-plugins-text-size.page 
${d}/C/gedit-plugins-word-completion.page 
${d}/C/gedit-printing-order.page ${d}/C/gedit-printing.page 
${d}/C/gedit-printing-select.page ${d}/C/gedit-quickstart.page 
${d}/C/gedit-replace.page ${d}/C/gedit-save-file.page 
${d}/C/gedit-search.page ${d}/C/gedit-shortcut-keys.page 
${d}/C/gedit-spellcheck.page ${d}/C/gedit-syntax-highlighting.page 
${d}/C/gedit-tabs-moving.page ${d}/C/gedit-tabs.page 
${d}/C/gedit-undo-recent-action.page 
${d}/C/gedit-view-open-files-in-sidepane.page ${d}/C/index.page) && \
touch "bg/bg.stamp"
Traceback (most recent call last):
   File "/usr/bin/itstool", line 974, in <module>
     doc.merge_translations(translations, opts.lang)
   File "/usr/bin/itstool", line 657, in merge_translations
     self._check_errors()
   File "/usr/bin/itstool", line 336, in _check_errors
     raise libxml2.parserError(self._xml_err)
libxml2.parserError:  Entity: line 1:  parser  error :  Opening and 
ending tag mismatch: app line 1 and p
  нето на код може да стане по-лесно и 
бързо.</p>
 
          ^
  Entity: line 1:  parser  error :  Premature end of data in tag p line 1
  нето на код може да стане по-лесно и 
бързо.</p>
 
          ^

make[2]: *** [bg/bg.stamp] Error 1
make[2]: Leaving directory `/usr/src/gnomeAddUtils/gedit/gedit-3.4.1/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnomeAddUtils/gedit/gedit-3.4.1'
make: *** [all] Error 2




Error happens at Bulgarian translation as I suspected. I've seen this on 
my build:

   GEN    bg/
Warning: Could not merge translation for msgid:
<app>Snippets</app> provide a convenient way of inserting repetitive 
portions of code into your files. For example, an HTML snippet for the 
<code>&lt;img&gt;</code> tag would insert the opening and closing 
portions of the tag, as well as fixed places where you can enter image 
attributes. This can make writing code easier and faster.

So maybe it is somehow related. If you are using itstool 1.1.1, I 
suggest you upgrade to 1.1.2 or 1.1.3 (I use 1.1.2 and there isn't any 
error)

 From 1.1.2 changelog:

commit ed24c8ab3b22a085daea614638cbc15796011f15
Author: Shaun McCance <sha...@gnome.org>
Date:   Tue Sep 27 10:16:55 2011 -0400

     Better handling of XML errors in PO files

     Rather than let an exception kill itstool, just issue a warning
     and use the original-language node. Added --strict to error out
     for XML errors in PO files.

     https://bugs.freedesktop.org/show_bug.cgi?id=41254

Cheers.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to