[Fwd: Re: Error Compiling gnome-applets]

Alexander Hansen <[email protected]> Thu, 12 Nov 2009 16:38:49 -0500
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giving this back to the list...

- -------- Original Message --------
Subject: 	Re: [gnome-core] Error Compiling gnome-applets
Date: 	Thu, 12 Nov 2009 21:18:05 +0100
From: 	Brian Moore <[email protected]>
To: 	Alexander Hansen <[email protected]>
References: 	<[email protected]>
<[email protected]> <[email protected]>
<[email protected]>




Am 12.11.2009 um 19:15 schrieb Alexander Hansen:

> Brian Moore wrote:
>> Martin Costabel <costabel <at> wanadoo.fr <http://wanadoo.fr>> writes:
> 
>>> Brian Moore wrote:
>>>> Fink-gnome,
>>>>
>>>> I have been unable to compile gnome-applets due to the following error:
>>> []
>>>> IndexError: list index out of range
>>>> make[3]: *** [el/multiload.xml] Error 1
>>> The same bug appeared in the gnome-terminal package, where it was fixed
>>> a month ago. I suspect the same patch would have to be applied in
>>> gnome-applets (and maybe in some more gnome packages).
>>>
>> Martin,
> 
>> I read the postings about gnome-terminal.  I couldn't figure out if
>> there was
>> a work around, or do I just  need to wait for a fixed package.
> 
>> The rest of the output from my compile looked like this:
>> ____________
> 
>> Traceback (most recent call last):
>>  File "/sw/bin/xml2po", line 185, in <module>
>>    main(sys.argv[1:])
>>  File "/sw/bin/xml2po", line 171, in main
>>    xml2po_main.merge(mofile, filenames[0])
>>  File "/sw/lib/python2.6/site-packages/xml2po/__init__.py", line 601,
>> in merge
>>    self.gt = gettext.GNUTranslations(mfile)
>>  File "/sw/lib/python2.6/gettext.py", line 180, in __init__
>>    self._parse(fp)
>>  File "/sw/lib/python2.6/gettext.py", line 314, in _parse
>>    plural = v[1].split('plural=')[1]
>> IndexError: list index out of range
>> make[3]: *** [el/multiload.xml] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> ### execution of /var/tmp/tmp.2.mAv41y failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gnome-applets-2.26.2-3
>> (Lese Datenbank ... 202072 Dateien und Verzeichnisse sind derzeit
>> installiert.)
>> Entferne fink-buildlock-gnome-applets-2.26.2-3 ...
>> Failed: phase compiling: gnome-applets-2.26.2-3 failed
> 
> 
> 
> 
> 
> 
> Even more context would be nice, such as starting with the last line
> before errors occur.
> 

Alex, Thanks for the help. Sorry about being a little slow with the
information. I am still a little new at this. I originally saw the error
while trying to build bundle-gnome. I was able to duplicate the error
trying to build gnome-applets after doing the selfupdate, update-all. I
wasn't able to post this, but it sounds like
you're the right person to send this to. The last lines before the above
posted errors were:


sed -e "s|\@LIBEXECDIR\@|/sw/lib/gnome-applets|"
GNOME_NullApplet_Factory.server.in.in > GNOME_NullApplet_Factory.server.in
LC_ALL=C /sw/bin/intltool-merge -o -u -c ../po/.intltool-merge-cache
../po GNOME_NullApplet_Factory.server.in GNOME_NullApplet_Factory.server
Found cached translation database
Merging translations into GNOME_NullApplet_Factory.server.
LC_ALL=C /sw/bin/intltool-merge -o -u -c ../po/.intltool-merge-cache
../po GNOME_CDPlayerApplet.server.in GNOME_CDPlayerApplet.server
Found cached translation database
Merging translations into GNOME_CDPlayerApplet.server.
LC_ALL=C /sw/bin/intltool-merge -o -u -c ../po/.intltool-merge-cache
../po GNOME_MailcheckApplet_Factory.server.in
GNOME_MailcheckApplet_Factory.server
Found cached translation database
Merging translations into GNOME_MailcheckApplet_Factory.server.
LC_ALL=C /sw/bin/intltool-merge -o -u -c ../po/.intltool-merge-cache
../po GNOME_Panel_WirelessApplet.server.in GNOME_Panel_WirelessApplet.server
Found cached translation database
Merging translations into GNOME_Panel_WirelessApplet.server.
Making all in multiload
Making all in docs
if ! test -d ca/; then mkdir ca/; fi
if [ -f "C/multiload.xml" ]; then d="../"; else
d="/sw/src/fink.build/gnome-applets-2.26.2-3/gnome-applets-2.26.2/multiload/docs/";
fi; \
(cd ca/ && \
 `which xml2po` -e -p \
   "${d}ca/ca.po" \
   "${d}C/multiload.xml" > multiload.xml.tmp && \
   cp multiload.xml.tmp multiload.xml && rm -f multiload.xml.tmp)
if ! test -d de/; then mkdir de/; fi
if [ -f "C/multiload.xml" ]; then d="../"; else
d="/sw/src/fink.build/gnome-applets-2.26.2-3/gnome-applets-2.26.2/multiload/docs/";
fi; \
(cd de/ && \
 `which xml2po` -e -p \
   "${d}de/de.po" \
   "${d}C/multiload.xml" > multiload.xml.tmp && \
   cp multiload.xml.tmp multiload.xml && rm -f multiload.xml.tmp)
if ! test -d el/; then mkdir el/; fi
if [ -f "C/multiload.xml" ]; then d="../"; else
d="/sw/src/fink.build/gnome-applets-2.26.2-3/gnome-applets-2.26.2/multiload/docs/";
fi; \
(cd el/ && \
 `which xml2po` -e -p \
   "${d}el/el.po" \
   "${d}C/multiload.xml" > multiload.xml.tmp && \
   cp multiload.xml.tmp multiload.xml && rm -f multiload.xml.tmp)


- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr8gGkACgkQB8UpO3rKjQ+dSQCePbYtNN/sQ+ALKLUs8Wqeks1l
t/wAoKOHE8RvnAws7JKIqhYELtKJ+UFC
=Z90G
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july