Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12432 closed defect (invalid)

BUG: zenity build fails

Reported by: macosforge.lbn@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: rhwood@…
Port:

Description

When executing, using top, Python's RPRVT memory allocation reaches 2GB+. This is the output. The first Python malloc() error occurs when it reaches 2GB of allocated memory.

For reference, this is being built on a machine with the following specs:

  • MacBook Pro
  • Mac OS X 10.4.10
  • 2.33 GHz Intel Core 2 Duo
  • 2 GB 667 MHz DDR2 SDRAM
  • XCode Version 2.4.1
$ sudo port -dv install zenity
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/zenity
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/zenity
DEBUG: Requested variant darwin is not provided by port zenity.
DEBUG: Requested variant i386 is not provided by port zenity.
DEBUG: Requested variant macosx is not provided by port zenity.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui
DEBUG: Requested variant darwin is not provided by port libgnomeui.
DEBUG: Requested variant i386 is not provided by port libgnomeui.
DEBUG: Requested variant macosx is not provided by port libgnomeui.
DEBUG: Searching for dependency: libgnomeui
DEBUG: Found Dependency: receipt exists for libgnomeui
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-doc-utils
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-doc-utils
DEBUG: Requested variant darwin is not provided by port gnome-doc-utils.
DEBUG: Requested variant i386 is not provided by port gnome-doc-utils.
DEBUG: Requested variant macosx is not provided by port gnome-doc-utils.
DEBUG: Searching for dependency: gnome-doc-utils
DEBUG: Found Dependency: receipt exists for gnome-doc-utils
DEBUG: Skipping completed org.macports.main (zenity)
DEBUG: Skipping completed org.macports.fetch (zenity)
DEBUG: Skipping completed org.macports.checksum (zenity)
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
DEBUG: Skipping completed org.macports.extract (zenity)
DEBUG: Skipping completed org.macports.patch (zenity)
DEBUG: Skipping completed org.macports.configure (zenity)
--->  Building zenity with target all
DEBUG: Executing org.macports.build (zenity)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_zenity/work/zenity-2.18.2" && make all'
make  all-recursive
Making all in src
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in data
make[2]: Nothing to be done for `all'.
Making all in help
if ! test -d bg/; then mkdir bg/; fi
if [ -f "C/zenity.xml" ]; then d="../"; else d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_zenity/work/zenity-2.18.2/help/"; fi; \
(cd bg/ && \
  `which xml2po` -e -p \
    "${d}bg/bg.po" \
    "${d}C/zenity.xml" > zenity.xml.tmp && \
    cp zenity.xml.tmp zenity.xml && rm -f zenity.xml.tmp)
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
file:///opt/local/share/xml/docbook/4.1.2/dbpoolx.mod:3515: parser error : out of memory error
<!ENTITY % local.group.attrib "">
                                ^
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
file:///opt/local/share/xml/docbook/4.1.2/dbpoolx.mod:3515: parser error : out of memory error
<!ENTITY % local.group.attrib "">
                                ^
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
(null)file:///opt/local/share/xml/docbook/4.1.2/dbpoolx.mod:3515: parser error : Content error in the external subset
<!ENTITY % group.role.attrib "%role.attrib;">
 ^
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
file:///opt/local/share/xml/docbook/4.1.2/dbpoolx.mod:3515: parser error : out of memory error
<!ENTITY % group.role.attrib "%role.attrib;">
    ^
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) malloc: *** set a breakpoint in szone_error to debug
(null)file:///opt/local/share/xml/docbook/4.1.2/dbpoolx.mod:3515: parser error : Content error in the external subset
<!ENTITY % group.role.attrib "%role.attrib;">
       ^
Error while normalizing string as XML:
"--radiolist"

Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) 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
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_zenity/work/zenity-2.18.2" && make all " returned error 2
Command output: Python(307) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(307) malloc: *** error: can't allocate region
Python(307) 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): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
$ 

Change History (4)

comment:1 Changed 17 years ago by nox@…

Cc: rhwood@… added
Summary: Zenity build failsBUG: zenity build fails
Version: 1.5.0

Added maintainer to Cc.

comment:2 Changed 17 years ago by macosforge.lbn@…

Appears this might result from contention between python24 and python25 packages and something about the gnome-doc-utils package. Order of dependency installation problem?

comment:3 Changed 17 years ago by rhwood@…

Resolution: invalid
Status: newclosed

OBE: The GNOME stack has been entirely migrated to python 2.5

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.