rendered paste bodyif [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \
(cd zh_CN/ && \
`which xml2po` -e -p \
"${d}zh_CN/zh_CN.po" \
"${d}C/legal.xml" > legal.xml.tmp && \
cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
if ! test -d zh_HK/; then mkdir zh_HK/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
if [ -f "C/legal.xml" ]; then d="../"; else d="$sd/"; fi; \
(cd zh_HK/ && \
`which xml2po` -e -p \
"${d}zh_HK/zh_HK.po" \
"${d}C/legal.xml" > legal.xml.tmp && \
cp legal.xml.tmp legal.xml && rm -f legal.xml.tmp)
Traceback (most recent call last):
File "/usr/bin/xml2po", line 800, in ?
doSerialize(doc)
File "/usr/bin/xml2po", line 551, in doSerialize
outtxt += doSerialize(child)
File "/usr/bin/xml2po", line 545, in doSerialize
(starttag, content, endtag, translation) = processElementTag(node, repl, 1)
File "/usr/bin/xml2po", line 462, in processElementTag
(starttag, content, endtag, translation) = processElementTag(child, myrepl, 0)
File "/usr/bin/xml2po", line 458, in processElementTag
myrepl.append(processElementTag(child, myrepl, 1))
File "/usr/bin/xml2po", line 458, in processElementTag
myrepl.append(processElementTag(child, myrepl, 1))
File "/usr/bin/xml2po", line 458, in processElementTag
myrepl.append(processElementTag(child, myrepl, 1))
File "/usr/bin/xml2po", line 458, in processElementTag
myrepl.append(processElementTag(child, myrepl, 1))
File "/usr/bin/xml2po", line 458, in processElementTag
myrepl.append(processElementTag(child, myrepl, 1))
File "/usr/bin/xml2po", line 470, in processElementTag
translation = getTranslation(outtxt, isSpacePreserveNode(node))
File "/usr/bin/xml2po", line 248, in getTranslation
gt = gettext.GNUTranslations(file)
File "/usr/lib/python2.4/gettext.py", line 177, in __init__
self._parse(fp)
File "/usr/lib/python2.4/gettext.py", line 260, in _parse
magic = unpack('<I', buf[:4])[0]
struct.error: unpack str size does not match format
make[2]: *** [zh_HK/gedit.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gedit-2.14.3/work/gedit-2.14.3/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.14.3/work/gedit-2.14.3'
make: *** [all] Error 2
!!! ERROR: app-editors/gedit-2.14.3 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called gnome2_src_compile
gnome2.eclass, line 64: Called die
!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
Traceback (most recent call last):
File "modules/grp_target.py", line 58, in run_local
+" "+pkgset+" "+mypackages,env=self.env)
File "/usr/lib/catalyst2/modules/catalyst_support.py", line 487, in cmd
raise CatalystError,myexc
CatalystError: <unprintable instance object>
None