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
On Jun 12, 2007, at 9:24 PM, Boey Maun Suang wrote:
* ask which port xml2po belongs to (use "port provides /opt/local/ bin/xml2po" to find out);
white:~ paul$ port provides `which xml2po` /opt/local/bin/xml2po is provided by: gnome-doc-utils
* ask which version of python you have installed; and
white:~ paul$ python Python 2.4.4 (#1, Jun 10 2007, 16:40:19) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin I have to wonder if this could be related to the version of Xcode I installed things with. I rebuilt this system last week and I wonder if some of the ports were done under the Tiger tools that came on the DVD and some with the version delivered last last year (2.4.1). white:~ paul$ gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple- darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367) -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
On Jun 12, 2007, at 9:24 PM, Boey Maun Suang wrote:
* 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).
Well, I did rebuild python24 and got this result. To be honest, I can't recall why I needed zenity -- must be a dependency for something else. anyway, it looks like xml2po is at the root of this, so I'll see if rebuilding that has any effect. 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_dp orts_gnome_zenity/work/zenity-2.18.2" && make all " returned error 2 Command output: Python(24874) malloc: *** vm_allocate(size=1069056) failed (error code=3) Python(24874) malloc: *** error: can't allocate region Python(24874) 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 -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
participants (2)
-
Boey Maun Suang
-
paul beard