zenity: what's taking so long?
Boey Maun Suang
boeyms at macports.org
Tue Jun 12 21:24:56 PDT 2007
On 13/06/2007, at 12:57, paul beard wrote:
> On Jun 12, 2007, at 6:06 PM, Boey Maun Suang wrote:
>
>> Make sure that the dependencies of zenity are all up to date (in
>> particular, docbook-xml, docbook-xsl, libxml2, libxslt, and their
>> dependents scrollkeeper and gnome-doc-utils), then clean zenity
>> and try again.
>
> Well, that's good advice. I'll do that. I just ran it again with
> time: 10 plus minutes and nothing to show for it.
>
> make: *** [all] Error 2
> Error: Target com.apple.build returned: shell command " cd "/opt/
> local/var/db/dports/build/
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_
> dports_gnome_zenity/work/zenity-2.18.2" && make all " returned error 2
> Command output: Python(524) malloc: *** vm_allocate(size=1069056)
> failed (error code=3)
> Python(524) malloc: *** error: can't allocate region
> Python(524) malloc: *** set a breakpoint in szone_error to debug
> Traceback (most recent call last):
> File "/opt/local/bin/xml2po", line 856, in ?
> doSerialize(doc)
> File "/opt/local/bin/xml2po", line 589, in doSerialize
> outtxt += doSerialize(child)
> File "/opt/local/bin/xml2po", line 583, in doSerialize
> (starttag, content, endtag, translation) = processElementTag
> (node, repl, 1)
> File "/opt/local/bin/xml2po", line 496, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/opt/local/bin/xml2po", line 496, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/opt/local/bin/xml2po", line 496, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/opt/local/bin/xml2po", line 496, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/opt/local/bin/xml2po", line 496, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/opt/local/bin/xml2po", line 529, in processElementTag
> replaceNodeContentsWithText(node, translation)
> File "/opt/local/bin/xml2po", line 370, in
> replaceNodeContentsWithText
> tmp = tmp + dtd.serialize('utf-8')
> File "/opt/local/lib/python2.4/site-packages/libxml2.py", line
> 352, in serialize
> return libxml2mod.serializeNode(self._o, encoding, format)
> MemoryError
> make[2]: *** [bg/zenity.xml] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Warning: the following items did not execute (for zenity):
> com.apple.build
> Error: Status 1 encountered during processing.
Now that's quite a different error! This seems well over my head.
All I can think of to do at this point is:
* ask which port xml2po belongs to (use "port provides /opt/local/
bin/xml2po" to find out);
* ask which version of python you have installed; and
* suggest that maybe (crosses fingers, screws up eyes) a
reinstallation of python, or an installation of a newer version,
might help, if you're willing to sit through it (though I doubt that
very much).
Does anybody else have any better suggestions as to why Paul is
getting this bug?
Kind regards,
Maun Suang
--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports dot org
More information about the macports-users
mailing list