Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16632 closed defect (duplicate)

glib2 reinstalls multiple times on port upgrade -f gnumeric (and crashes)

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: glib2, gnumeric, crash Cc:
Port: glib2

Description

I tried doing a "port upgrade -f gnumeric". This naturally takes a long time, but I wasn't prepared for the multiple glib2 reinstalls. Eventually, the last glib2 build crashed. Here is a snippet of the last build activity:

--->    librsvg
--->    gimp2
--->    libgnomeprint
--->    libgnomecanvas
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libart_lgpl 2.3.20_0
--->  Uninstalling libart_lgpl 2.3.20_0
--->  Installing libart_lgpl 2.3.20_0
--->  Activating libart_lgpl 2.3.20_0
--->  Cleaning libart_lgpl
--->  Fetching glib2
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
--->  Unable to uninstall glib2 2.16.6_0+darwin_9, the following ports depend on it:
--->    atk
--->    pango
--->    gtk2
[...]
--->    dbus-glib
--->    desktop-file-utils
--->    libbonobo
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating glib2 2.16.6_0+darwin_9
--->  Uninstalling glib2 2.16.6_0+darwin_9
--->  Installing glib2 2.16.6_0+darwin_9
--->  Activating glib2 2.16.6_0+darwin_9
--->  Cleaning glib2
--->  Fetching pango
--->  Verifying checksum(s) for pango
--->  Extracting pango
--->  Applying patches to pango
--->  Configuring pango
--->  Building pango with target all
--->  Staging pango into destroot
--->  Unable to uninstall pango 1.20.5_0, the following ports depend on it:
--->    gtk2
--->    gtk2
--->    gtk2
--->    gtk2
--->    gtk2
--->    gtk2
--->    py25-gtk
--->    py-gtk2
--->    libgnomeprint
--->    libgnomecanvas
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating pango 1.20.5_0
--->  Uninstalling pango 1.20.5_0
--->  Installing pango 1.20.5_0
--->  Activating pango 1.20.5_0
--->  Cleaning pango
--->  Fetching glib2
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
--->  Unable to uninstall glib2 2.16.6_0+darwin_9, the following ports depend on it:
--->    atk
--->    pango
--->    gtk2
[...]
--->    desktop-file-utils
--->    libbonobo
--->    pango
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating glib2 2.16.6_0+darwin_9
--->  Uninstalling glib2 2.16.6_0+darwin_9
--->  Installing glib2 2.16.6_0+darwin_9
--->  Activating glib2 2.16.6_0+darwin_9
--->  Cleaning glib2
--->  Fetching libgnomecups
--->  Verifying checksum(s) for libgnomecups
--->  Extracting libgnomecups
--->  Configuring libgnomecups
--->  Building libgnomecups with target all
--->  Staging libgnomecups into destroot
--->  Unable to uninstall libgnomecups 0.2.3_1, the following ports depend on it:
--->    libgnomeprint
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libgnomecups 0.2.3_1
--->  Uninstalling libgnomecups 0.2.3_1
--->  Installing libgnomecups 0.2.3_1
--->  Activating libgnomecups 0.2.3_1
--->  Cleaning libgnomecups
--->  Fetching libgnomeprint
--->  Verifying checksum(s) for libgnomeprint
--->  Extracting libgnomeprint
--->  Applying patches to libgnomeprint
--->  Configuring libgnomeprint
--->  Building libgnomeprint with target all
--->  Staging libgnomeprint into destroot
--->  Unable to uninstall libgnomeprint 2.18.4_0, the following ports depend on it:
--->    libgnomeprintui
--->    libgnomeprintui
--->    libgnomeprintui
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libgnomeprint 2.18.4_0
--->  Uninstalling libgnomeprint 2.18.4_0
--->  Installing libgnomeprint 2.18.4_0
--->  Activating libgnomeprint 2.18.4_0
--->  Cleaning libgnomeprint
--->  Fetching glib2
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
--->  Unable to uninstall glib2 2.16.6_0+darwin_9, the following ports depend on it:
--->    atk
--->    pango
--->    gtk2
[...]
--->    pango
--->    libgnomecups
--->    libgnomeprint
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating glib2 2.16.6_0+darwin_9
--->  Uninstalling glib2 2.16.6_0+darwin_9
--->  Installing glib2 2.16.6_0+darwin_9
--->  Activating glib2 2.16.6_0+darwin_9
--->  Cleaning glib2
--->  Fetching glib2
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
tclsh(70748,0xa0039fa0) malloc: *** mmap(size=155648) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
unable to realloc 151856 bytes
Abort trap

Change History (6)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Component: portsbase
Milestone: Port BugsMacPorts base bugs

The multiple rebuilds should be fixed in trunk. (Why do you want to rebuild every dependency of gnumeric anyway?) The running out of memory OTOH is a known issue with an unknown cause.

comment:2 in reply to:  1 Changed 16 years ago by macports@…

Replying to jmr@…:

The multiple rebuilds should be fixed in trunk.

Great. (Is there a new version out soon? :) )

(Why do you want to rebuild every dependency of gnumeric anyway?) The running out of memory OTOH is a known issue with an unknown cause.

Because I have been trying to fix the boxes instead of text problem with gnumeric (#15052). (I haven't had any success on fixing that yet, even though I've tried rebuilding cairo and gnumeric separatly.)

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

port -f upgrade is not a good idea; see e.g. #12989.

comment:4 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #10827 and #12022.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.