[MacPorts] #23983: gnome-doc-utils: xml2po python module in wrong path
MacPorts
noreply at macports.org
Wed Mar 17 23:29:23 PDT 2010
#23983: gnome-doc-utils: xml2po python module in wrong path
------------------------------------+---------------------------------------
Reporter: tony@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: gnome-doc-utils
------------------------------------+---------------------------------------
Comment(by jsg72@…):
I had the same symptom as the original problem, but it was installing
gnome-terminal, not gnome-doc-utils (which built fine - go figure). I
rebuilt/reinstalled gnome-doc-utils with the patch, and now gnome-terminal
is failing with the following:
---> Building gnome-terminal
DEBUG: Executing org.macports.build (gnome-terminal)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" &&
/usr/bin/make -j4 all'
/usr/bin/make all-recursive
Making all in src
/usr/bin/make all-recursive
Making all in skey
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in help
if ! test -d el/; then mkdir el/; fi
if ! test -d pt_BR/; then mkdir pt_BR/; fi
if ! test -d ru/; then mkdir ru/; fi
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else
d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-
terminal-2.26.3.1/help/"; fi; \
(cd el/ && \
`which xml2po` -e -p \
"${d}el/el.po" \
"${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-
terminal.xml.tmp)
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else
d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-
terminal-2.26.3.1/help/"; fi; \
(cd ru/ && \
`which xml2po` -e -p \
"${d}ru/ru.po" \
"${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-
terminal.xml.tmp)
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else
d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-
terminal-2.26.3.1/help/"; fi; \
(cd pt_BR/ && \
`which xml2po` -e -p \
"${d}pt_BR/pt_BR.po" \
"${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-
terminal.xml.tmp)
Making all in bg
make[3]: Nothing to be done for `all'.
Making all in ro
make[3]: Nothing to be done for `all'.
Making all in ja
make[3]: Nothing to be done for `all'.
Making all in zh_CN
make[3]: Nothing to be done for `all'.
Making all in zh_TW
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
if ! test -d sv/; then mkdir sv/; fi
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else
d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-
terminal-2.26.3.1/help/"; fi; \
(cd sv/ && \
`which xml2po` -e -p \
"${d}sv/sv.po" \
"${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-
terminal.xml.tmp)
Traceback (most recent call last):
File "/opt/local/bin/xml2po", line 185, in <module>
main(sys.argv[1:])
File "/opt/local/bin/xml2po", line 171, in main
xml2po_main.merge(mofile, filenames[0])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/xml2po/__init__.py", line 601, in merge
self.gt = gettext.GNUTranslations(mfile)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/gettext.py",
line 180, in __init__
self._parse(fp)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/gettext.py",
line 314, in _parse
plural = v[1].split('plural=')[1]
IndexError: list index out of range
make[2]: *** [el/gnome-terminal.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" &&
/usr/bin/make -j4 all " returned error 2
DEBUG: Backtrace: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" &&
/usr/bin/make -j4 all " returned error 2
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gnome-terminal):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
Is this the same issue or something else?
--
Ticket URL: <http://trac.macports.org/ticket/23983#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list