Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Mac OS X bundle installation error

Moderators: kris

Posted: 04/28/08 22:42:55 Modified: 04/28/08 22:51:42

I've just downloaded the Mac OS X bundle and tried to install it but I got an error, the Console outputs the following:

2008-04-29 12:21:56 AM Installer[2142] <ZeroSliderSplitView: 0x78d080>: the delegate <TargetSelectPage: 0x7e1a80> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state: 
2008-04-29 12:21:56 AM Installer[2142] Split view bounds: {{0, 0}, {402, 104}} 
2008-04-29 12:21:56 AM Installer[2142]     Subview frame: {{0, 0}, {0, 32}} 
2008-04-29 12:21:56 AM Installer[2142]     Subview frame: {{0, 0}, {402, 104}} 
2008-04-29 12:21:56 AM Installer[2142] The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. 
(This message is only logged once per NSSplitView.) 
2008-04-29 12:22:22 AM Installer[2142] The following install step failed: run postupgrade script for d. Contact the software manufacturer for assistance.

It seems to successfully install gdc, examples and documentation but not dsss and TextMate? bundle. I'm using Mac OS X 10.5.2 Intel

Author Message

Posted: 04/29/08 08:41:40

Does the Installer log have any more info ?

Posted: 04/29/08 19:02:32

I found a way to display more info in the Console.

2008-04-29 8:54:04 PM Installer[1542] User picked Custom Install 
2008-04-29 8:54:04 PM Installer[1542] Choices selected for installation: 
2008-04-29 8:54:04 PM Installer[1542]  Upgrade: "GDC with Tango" 
2008-04-29 8:54:04 PM Installer[1542]  Upgrade: "GDC with Tango" 
2008-04-29 8:54:04 PM Installer[1542]  Upgrade: "Examples" 
2008-04-29 8:54:04 PM Installer[1542]  Upgrade: "Documentation" 
2008-04-29 8:54:04 PM Installer[1542]  Upgrade: "TextMate bundle" 
2008-04-29 8:54:04 PM Installer[1542]  Install: "DSSS" 
2008-04-29 8:54:04 PM Installer[1542] ================================================================================ 
2008-04-29 8:54:15 PM Installer[1542] ================================================================================ 
2008-04-29 8:54:15 PM Installer[1542] User picked Standard Install 
2008-04-29 8:54:15 PM Installer[1542] Choices selected for installation: 
2008-04-29 8:54:15 PM Installer[1542]  Upgrade: "GDC with Tango" 
2008-04-29 8:54:15 PM Installer[1542]  Upgrade: "GDC with Tango" 
2008-04-29 8:54:15 PM Installer[1542]  Upgrade: "Examples" 
2008-04-29 8:54:15 PM Installer[1542]  Upgrade: "Documentation" 
2008-04-29 8:54:15 PM Installer[1542]  Upgrade: "TextMate bundle" 
2008-04-29 8:54:15 PM Installer[1542]  Install: "DSSS" 
2008-04-29 8:54:15 PM Installer[1542] ================================================================================ 
2008-04-29 8:54:15 PM installdb[1549] Opened receipt database on '/' with schema 17. 
2008-04-29 8:54:15 PM Installer[1542] Preparing volume "Leopard" for installation 
2008-04-29 8:54:15 PM Installer[1542] Configuring volume "Leopard" 
2008-04-29 8:54:16 PM Installer[1542] Free space on "Leopard": 207 GB (222745534464 bytes). 
2008-04-29 8:54:16 PM Installer[1542] Create temporary directory "/private/tmp/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg.1542qI78Tj" 
2008-04-29 8:54:16 PM Installer[1542] Running install actions 
2008-04-29 8:54:16 PM Installer[1542] Processing build: 
2008-04-29 8:54:16 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:16 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:16 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:16 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:16 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:16 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:16 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:16 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:16 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:18 PM Installer[1542]  run postupgrade script for build 
2008-04-29 8:54:18 PM sudo[1556]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/rm -f /usr/bin/gdc 
2008-04-29 8:54:19 PM sudo[1557]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -s /usr/share/gdc/bin/gdc /usr/bin/gdc 
2008-04-29 8:54:19 PM sudo[1558]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/rm -f /usr/bin/i386-apple-darwin9.2.2-gdc 
2008-04-29 8:54:19 PM sudo[1559]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -s /usr/share/gdc/bin/i386-apple-darwin9.2.2-gdc /usr/bin/i386-apple-darwin9.2.2-gdc 
2008-04-29 8:54:19 PM sudo[1560]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/rm -f /usr/bin/i386-apple-darwin9.2.2-gdmd 
2008-04-29 8:54:19 PM sudo[1561]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -s /usr/share/gdc/bin/i386-apple-darwin9.2.2-gdmd /usr/bin/i386-apple-darwin9.2.2-gdmd 
2008-04-29 8:54:19 PM sudo[1562]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/rm -rf /usr/include/d 
2008-04-29 8:54:19 PM sudo[1563]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -s /usr/share/gdc/include/d /usr/include/d 
2008-04-29 8:54:19 PM sudo[1564]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -sf /usr/share/gdc/man/man1/gdc.1 /usr/share/man/man1/gdc.1 
2008-04-29 8:54:19 PM sudo[1565]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -sf /usr/share/gdc/man/man1/gdmd.1 /usr/share/man/man1/gdmd.1 
2008-04-29 8:54:19 PM sudo[1566]     root : TTY=unknown ; PWD=/private/tmp/scripts.Wj0n ; USER=root ; COMMAND=/bin/ln -sf gdmd.1 /usr/share/man/man1/dmd.1 
2008-04-29 8:54:19 PM Installer[1542]  Performing post-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Finishing receipt 
2008-04-29 8:54:19 PM runner[1546] Extracting BOM from "/Users/doob/Downloads/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg" to "/Library/Receipts/boms/se.hunch.gdctango.gdc.pkg.bom" 
2008-04-29 8:54:19 PM Installer[1542] Processing gdmd: 
2008-04-29 8:54:19 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:19 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:19 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:19 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:19 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:19 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:19 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:19 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:19 PM Installer[1542]  run postupgrade script for gdmd 
2008-04-29 8:54:19 PM sudo[1573]     root : TTY=unknown ; PWD=/private/tmp/scripts.MEkD ; USER=root ; COMMAND=/bin/ln -sf /usr/bin/gdmd /usr/bin/dmd 
2008-04-29 8:54:19 PM Installer[1542]  Performing post-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Finishing receipt 
2008-04-29 8:54:19 PM runner[1546] Extracting BOM from "/Users/doob/Downloads/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg" to "/Library/Receipts/boms/se.hunch.gdctango.gdmd.pkg.bom" 
2008-04-29 8:54:19 PM Installer[1542] Processing tangoexamples: 
2008-04-29 8:54:19 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:19 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:19 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:19 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:19 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:19 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:19 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:19 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:19 PM Installer[1542]  run postupgrade script for tangoexamples 
2008-04-29 8:54:19 PM sudo[1580]     root : TTY=unknown ; PWD=/private/tmp/scripts.IjMc ; USER=root ; COMMAND=/bin/mv /Developer/Examples/D/linux.mak /Developer/Examples/D/Makefile 
2008-04-29 8:54:19 PM sudo[1581]     root : TTY=unknown ; PWD=/private/tmp/scripts.IjMc ; USER=root ; COMMAND=/bin/rm /Developer/Examples/D/jake-all.bat 
2008-04-29 8:54:19 PM Installer[1542]  Performing post-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Finishing receipt 
2008-04-29 8:54:19 PM runner[1546] Extracting BOM from "/Users/doob/Downloads/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg" to "/Library/Receipts/boms/se.hunch.gdctango.examples.pkg.bom" 
2008-04-29 8:54:19 PM Installer[1542] Processing readme: 
2008-04-29 8:54:19 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:19 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:19 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:19 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:19 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:19 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:19 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:19 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:19 PM Installer[1542]  Performing post-extraction actions 
2008-04-29 8:54:19 PM Installer[1542]  Finishing receipt 
2008-04-29 8:54:19 PM runner[1546] Extracting BOM from "/Users/doob/Downloads/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg" to "/Library/Receipts/boms/se.hunch.gdctango.examples.readme.pkg.bom" 
2008-04-29 8:54:19 PM Installer[1542] Processing documentation: 
2008-04-29 8:54:19 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:20 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:20 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:20 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:20 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:20 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:20 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:20 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:20 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:21 PM Installer[1542]  run postupgrade script for documentation 
2008-04-29 8:54:21 PM sudo[1589]     root : TTY=unknown ; PWD=/private/tmp/scripts.Q0jx ; USER=root ; COMMAND=/bin/ln -fs /Developer/Examples/D /Developer/Documentation/D/Examples 
2008-04-29 8:54:21 PM Installer[1542]  Performing post-extraction actions 
2008-04-29 8:54:21 PM Installer[1542]  Finishing receipt 
2008-04-29 8:54:21 PM runner[1546] Extracting BOM from "/Users/doob/Downloads/tango-0.99.6-gdc-macosx-10.5-i386-withGDC-withDSSS.pkg" to "/Library/Receipts/boms/se.hunch.gdctango.documentation.pkg.bom" 
2008-04-29 8:54:21 PM Installer[1542] Processing d: 
2008-04-29 8:54:21 PM Installer[1542]  Determining files to install 
2008-04-29 8:54:21 PM Installer[1542]  Configuring deferred files 
2008-04-29 8:54:21 PM Installer[1542]  Determining obsolete files 
2008-04-29 8:54:21 PM Installer[1542]  Assembling temporary receipt 
2008-04-29 8:54:21 PM Installer[1542]  Performing pre-extraction actions 
2008-04-29 8:54:21 PM Installer[1542]  Removing obsoleted files 
2008-04-29 8:54:21 PM Installer[1542]  Creating destination path 
2008-04-29 8:54:21 PM Installer[1542]  Validating package payload 
2008-04-29 8:54:21 PM Installer[1542]  Starting file extraction 
2008-04-29 8:54:21 PM Installer[1542]  run postupgrade script for d 
2008-04-29 8:54:21 PM /private/tmp/scripts.cHz2/./postinstall[1595] mv: rename /tmp/se.hunch.gdctango.textmate-suuport-D.tmbundle to /Users/doob/Library/Application Support/TextMate/Bundles/D.tmbundle: No such file or directory
 
2008-04-29 8:54:21 PM Installer[1542] Install failed: The following install step failed: run postupgrade script for d. Contact the software manufacturer for assistance. 
2008-04-29 8:54:21 PM Installer[1542] IFDInstallController 779020 state = 7 
2008-04-29 8:54:21 PM Installer[1542] Displaying 'Install Failed' UI. 
2008-04-29 8:54:21 PM Installer[1542] 'Install Failed' UI displayed message:'The following install step failed: run postupgrade script for d. Contact the software manufacturer for assistance.'. 
2008-04-29 8:54:21 PM Installer[1542] The following install step failed: run postupgrade script for d. Contact the software manufacturer for assistance.

Posted: 04/29/08 20:03:42

I created the /Users/doob/Library/Application Support/TextMate/Bundles/ directory and then the installation succeeded.

Posted: 05/02/08 08:14:50 -- Modified: 05/02/08 08:15:30 by
afb

The postinstall script doesn't work with the spaces in the dir name (thanks Apple for not making it ApplicationSupport)

#!/bin/sh
MIDDLEPATH=/tmp/se.hunch.gdctango.textmate-suuport-D.tmbundle
DESTINATION=$HOME'/Library/Application Support/TextMate/Bundles/D.tmbundle'
if [ -d $MIDDLEPATH ]; then
  if [ -d "$DESTINATION" ]; then
    mv -f "$DESTINATION" "$DESTINATION.previous"
  else
    mkdir -p $(dirname "$DESTINATION")
  fi
  mv $MIDDLEPATH "$DESTINATION"
fi

This will create the directory ~/Library/Application

Posted: 05/02/08 16:47:46

This has now been fixed. The current available distributions has been updated. Thank you!

...... rasmus