Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #182 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Haskell Platform will not install on current Macintosh

Reported by: fwburton Owned by: MtnViewMark
Priority: major Milestone: 2011.4.0.0
Component: OSX installer Keywords: installation
Cc: burton@…

Description

I am running MacOS 10.7 (Lion) with Xcode 4.1 9 (the most recent versions in both cases). I cannot install the current 32 bit version of the Haskell Platform. I am attaching a screen shot of the error that the Haskell Installer returns. /haskell-platform/Users/burton/Desktop/Screen Shot 2011-07-23 at 7.52.53 PM.png

Attachments

Screen Shot 2011-07-23 at 7.52.53 PM.png (67.8 kB) - added by fwburton 3 years ago.

Change History

Changed 3 years ago by fwburton

follow-up: ↓ 3   Changed 3 years ago by MtnViewMark

  • owner changed from gregorycollins to MtnViewMark

Can you attach the relevant log lines from /var/log/install.log? That would help me get a handle on what is going wrong on your system.

  Changed 3 years ago by fwburton

  • cc burton@… added

I am enclosing the requested part of install.log. Note, the digit 9 in my original message was a "(" gone wrong. I was using Xcode 4.1. /haskell-platform/Users/warren/Desktop/install.log

in reply to: ↑ 1   Changed 3 years ago by fwburton

Replying to MtnViewMark:

Can you attach the relevant log lines from /var/log/install.log? That would help me get a handle on what is going wrong on your system.

Here they are: Jul 23 19:43:39 fwb installd[5419]: Installed "Xcode (Part 2 of 2)" () Jul 23 19:43:39 fwb installd[5419]: PackageKit?: ----- End install ----- Jul 23 19:43:40 fwb installer[5416]: Running install actions Jul 23 19:43:40 fwb installer[5416]: Removing temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.54161K3Nqu" Jul 23 19:43:40 fwb installer[5416]: Finalize disk "FWB" Jul 23 19:43:40 fwb installer[5416]: Notifying system of updated components Jul 23 19:43:40 fwb installer[5416]: Jul 23 19:43:40 fwb installer[5416]: **** Summary Information **** Jul 23 19:43:40 fwb installer[5416]: Operation Elapsed time Jul 23 19:43:40 fwb installer[5416]: ----------------------------- Jul 23 19:43:40 fwb installer[5416]: disk 0.01 seconds Jul 23 19:43:40 fwb installer[5416]: script 0.00 seconds Jul 23 19:43:40 fwb installer[5416]: zero 0.01 seconds Jul 23 19:43:40 fwb installer[5416]: install 560.50 seconds Jul 23 19:43:40 fwb installer[5416]: -total- 560.53 seconds Jul 23 19:43:40 fwb installer[5416]: Jul 23 19:48:45 fwb Installer[6050]: @(#)PROGRAM:Install PROJECT:Install-684 Jul 23 19:48:45 fwb Installer[6050]: @(#)PROGRAM:Installer PROJECT:Installer-530 Jul 23 19:48:45 fwb Installer[6050]: Hardware: Macmini4,1 @ 2.40 GHz (x 2), 8192 MB RAM Jul 23 19:48:45 fwb Installer[6050]: Running OS Build: Mac OS X 10.7 (11A511) Jul 23 19:48:45 fwb Installer[6050]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin Jul 23 19:48:45 fwb Installer[6050]: Env: TMPDIR=/var/folders/y8/9wpmb_wx39549ryz203ps_b80000gn/T/ Jul 23 19:48:45 fwb Installer[6050]: Env: SHELL=/bin/tcsh Jul 23 19:48:45 fwb Installer[6050]: Env: HOME=/Users/burton Jul 23 19:48:45 fwb Installer[6050]: Env: USER=burton Jul 23 19:48:45 fwb Installer[6050]: Env: LOGNAME=burton Jul 23 19:48:45 fwb Installer[6050]: Env: DISPLAY=/tmp/launch-Z8ARgq/org.x:0 Jul 23 19:48:45 fwb Installer[6050]: Env: SSH_AUTH_SOCK=/tmp/launch-twp321/Listeners Jul 23 19:48:45 fwb Installer[6050]: Env: Apple_PubSub_Socket_Render=/tmp/launch-NFtjLk/Render Jul 23 19:48:45 fwb Installer[6050]: Env: COMMAND_MODE=unix2003 Jul 23 19:48:45 fwb Installer[6050]: Env: CF_USER_TEXT_ENCODING=0x1F5:0:0 Jul 23 19:48:45 fwb Installer[6050]: Haskell Platform Installation Log Jul 23 19:48:45 fwb Installer[6050]: Opened from: /Users/warren/Public/Haskell Platform 2011.2.0.1-i386.pkg Jul 23 19:48:45 fwb Installer[6050]: Product archive /Users/warren/Public/Haskell Platform 2011.2.0.1-i386.pkg trustLevel=100 Jul 23 19:48:54 fwb Installer[6050]: InstallerStatusNotifications? plugin loaded Jul 23 19:49:14 fwb runner[6055]: Administrator authorization granted. Jul 23 19:49:14 fwb Installer[6050]: ================================================================================ Jul 23 19:49:14 fwb Installer[6050]: User picked Standard Install Jul 23 19:49:14 fwb Installer[6050]: Choices selected for installation: Jul 23 19:49:14 fwb Installer[6050]: Install: "Haskell Platform" Jul 23 19:49:14 fwb Installer[6050]: Install: "Glasgow Haskell Compiler" Jul 23 19:49:14 fwb Installer[6050]: Haskell Platform 2011.2.0.1-i386.pkg#ghc.pkg : org.haskell.HaskellPlatform?.GHC.pkg : 1 Jul 23 19:49:14 fwb Installer[6050]: Install: "Haskell Platform Libraries" Jul 23 19:49:14 fwb Installer[6050]: Haskell Platform 2011.2.0.1-i386.pkg#haskell.pkg : org.haskell.HaskellPlatform?.Libraries.pkg : 1 Jul 23 19:49:14 fwb Installer[6050]: Haskell Platform 2011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg : org.haskell.haskellPlatform.postflight.pkg : 1.0 Jul 23 19:49:14 fwb Installer[6050]: ================================================================================ Jul 23 19:49:14 fwb Installer[6050]: It took 0.00 seconds to summarize the package selections. Jul 23 19:49:14 fwb Installer[6050]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost Jul 23 19:49:14 fwb Installer[6050]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg Jul 23 19:49:14 fwb Installer[6050]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskell.pkg Jul 23 19:49:14 fwb Installer[6050]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg Jul 23 19:49:14 fwb Installer[6050]: Set authorization level to root for session Jul 23 19:49:14 fwb Installer[6050]: Will use PK session Jul 23 19:49:14 fwb Installer[6050]: Starting installation: Jul 23 19:49:14 fwb Installer[6050]: Configuring volume "FWB" Jul 23 19:49:14 fwb Installer[6050]: Preparing disk for local booted install. Jul 23 19:49:14 fwb Installer[6050]: Free space on "FWB": 57.2 GB (57195483136 bytes). Jul 23 19:49:14 fwb Installer[6050]: Create temporary directory "/var/folders/y8/9wpmb_wx39549ryz203ps_b80000gn/T//Install.6050ebqLzy" Jul 23 19:49:14 fwb Installer[6050]: IFPKInstallElement (3 packages) Jul 23 19:49:14 fwb Installer[6050]: Using authorization level of root for IFPKInstallElement Jul 23 19:49:14 fwb installd[6060]: PackageKit?: ----- Begin install ----- Jul 23 19:49:14 fwb installd[6060]: PackageKit?: request=PKInstallRequest <3 packages, destination=/> Jul 23 19:49:14 fwb installd[6060]: PackageKit?: packages=(

"PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg>", "PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskell.pkg>", "PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg>"

)

Jul 23 19:49:18 fwb installd[6060]: PackageKit?: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”." UserInfo?=0x1004a1da0 {NSLocalizedDescription=An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”., NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks, NSURL=file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg, PKInstallPackageIdentifier=org.haskell.HaskellPlatform?.GHC.pkg, NSUnderlyingError=0x1004d89b0 "The file couldn’t be opened because it isn’t in the correct format."} {

NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks"; NSLocalizedDescription = "An error occurred while extracting files from the package \U201cHaskell Platform 2011.2.0.1-i386.pkg\U201d."; NSURL = "file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg"; NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\""; PKInstallPackageIdentifier = "org.haskell.HaskellPlatform?.GHC.pkg";

}

Jul 23 19:49:18 fwb Installer[6050]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”." UserInfo?=0x7fc1e05f7d90 {NSUnderlyingError=0x7fc1e05f7e20 "The file couldn’t be opened because it isn’t in the correct format.", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks, NSURL=file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg, PKInstallPackageIdentifier=org.haskell.HaskellPlatform?.GHC.pkg, NSLocalizedDescription=An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”.} Jul 23 19:49:18 fwb Installer[6050]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. Jul 23 19:49:18 fwb Installer[6050]: IFDInstallController E04092B0 state = 7 Jul 23 19:49:18 fwb Installer[6050]: Displaying 'Install Failed' UI. Jul 23 19:49:18 fwb Installer[6050]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'. Jul 23 19:52:30 fwb Installer[6099]: @(#)PROGRAM:Install PROJECT:Install-684 Jul 23 19:52:30 fwb Installer[6099]: @(#)PROGRAM:Installer PROJECT:Installer-530 Jul 23 19:52:30 fwb Installer[6099]: Hardware: Macmini4,1 @ 2.40 GHz (x 2), 8192 MB RAM Jul 23 19:52:30 fwb Installer[6099]: Running OS Build: Mac OS X 10.7 (11A511) Jul 23 19:52:30 fwb Installer[6099]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin Jul 23 19:52:30 fwb Installer[6099]: Env: TMPDIR=/var/folders/y8/9wpmb_wx39549ryz203ps_b80000gn/T/ Jul 23 19:52:30 fwb Installer[6099]: Env: SHELL=/bin/tcsh Jul 23 19:52:30 fwb Installer[6099]: Env: HOME=/Users/burton Jul 23 19:52:30 fwb Installer[6099]: Env: USER=burton Jul 23 19:52:30 fwb Installer[6099]: Env: LOGNAME=burton Jul 23 19:52:30 fwb Installer[6099]: Env: DISPLAY=/tmp/launch-Z8ARgq/org.x:0 Jul 23 19:52:30 fwb Installer[6099]: Env: SSH_AUTH_SOCK=/tmp/launch-twp321/Listeners Jul 23 19:52:30 fwb Installer[6099]: Env: Apple_PubSub_Socket_Render=/tmp/launch-NFtjLk/Render Jul 23 19:52:30 fwb Installer[6099]: Env: COMMAND_MODE=unix2003 Jul 23 19:52:30 fwb Installer[6099]: Env: CF_USER_TEXT_ENCODING=0x1F5:0:0 Jul 23 19:52:30 fwb Installer[6099]: Haskell Platform Installation Log Jul 23 19:52:30 fwb Installer[6099]: Opened from: /Users/warren/Public/Haskell Platform 2011.2.0.1-i386.pkg Jul 23 19:52:30 fwb Installer[6099]: Product archive /Users/warren/Public/Haskell Platform 2011.2.0.1-i386.pkg trustLevel=100 Jul 23 19:52:32 fwb Installer[6099]: InstallerStatusNotifications? plugin loaded Jul 23 19:52:45 fwb runner[6104]: Administrator authorization granted. Jul 23 19:52:45 fwb Installer[6099]: ================================================================================ Jul 23 19:52:45 fwb Installer[6099]: User picked Standard Install Jul 23 19:52:45 fwb Installer[6099]: Choices selected for installation: Jul 23 19:52:45 fwb Installer[6099]: Install: "Haskell Platform" Jul 23 19:52:45 fwb Installer[6099]: Install: "Glasgow Haskell Compiler" Jul 23 19:52:45 fwb Installer[6099]: Haskell Platform 2011.2.0.1-i386.pkg#ghc.pkg : org.haskell.HaskellPlatform?.GHC.pkg : 1 Jul 23 19:52:45 fwb Installer[6099]: Install: "Haskell Platform Libraries" Jul 23 19:52:45 fwb Installer[6099]: Haskell Platform 2011.2.0.1-i386.pkg#haskell.pkg : org.haskell.HaskellPlatform?.Libraries.pkg : 1 Jul 23 19:52:45 fwb Installer[6099]: Haskell Platform 2011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg : org.haskell.haskellPlatform.postflight.pkg : 1.0 Jul 23 19:52:45 fwb Installer[6099]: ================================================================================ Jul 23 19:52:45 fwb Installer[6099]: It took 0.00 seconds to summarize the package selections. Jul 23 19:52:45 fwb Installer[6099]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost Jul 23 19:52:45 fwb Installer[6099]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg Jul 23 19:52:45 fwb Installer[6099]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskell.pkg Jul 23 19:52:45 fwb Installer[6099]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg Jul 23 19:52:45 fwb Installer[6099]: Set authorization level to root for session Jul 23 19:52:45 fwb Installer[6099]: Will use PK session Jul 23 19:52:45 fwb Installer[6099]: Starting installation: Jul 23 19:52:45 fwb Installer[6099]: Configuring volume "FWB" Jul 23 19:52:45 fwb Installer[6099]: Preparing disk for local booted install. Jul 23 19:52:45 fwb Installer[6099]: Free space on "FWB": 57.05 GB (57047953408 bytes). Jul 23 19:52:45 fwb Installer[6099]: Create temporary directory "/var/folders/y8/9wpmb_wx39549ryz203ps_b80000gn/T//Install.6099SXsK7T" Jul 23 19:52:45 fwb Installer[6099]: IFPKInstallElement (3 packages) Jul 23 19:52:45 fwb Installer[6099]: Using authorization level of root for IFPKInstallElement Jul 23 19:52:45 fwb installd[6109]: PackageKit?: ----- Begin install ----- Jul 23 19:52:45 fwb installd[6109]: PackageKit?: request=PKInstallRequest <3 packages, destination=/> Jul 23 19:52:45 fwb installd[6109]: PackageKit?: packages=(

"PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg>", "PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskell.pkg>", "PKLeopardPackage <file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#haskellPlatformPostflight.pkg>"

)

Jul 23 19:52:46 fwb installd[6109]: PackageKit?: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”." UserInfo?=0x7fff2a929f40 {NSLocalizedDescription=An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”., NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks, NSURL=file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg, PKInstallPackageIdentifier=org.haskell.HaskellPlatform?.GHC.pkg, NSUnderlyingError=0x7fff29513a10 "The file couldn’t be opened because it isn’t in the correct format."} {

NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks"; NSLocalizedDescription = "An error occurred while extracting files from the package \U201cHaskell Platform 2011.2.0.1-i386.pkg\U201d."; NSURL = "file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg"; NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\""; PKInstallPackageIdentifier = "org.haskell.HaskellPlatform?.GHC.pkg";

}

Jul 23 19:52:46 fwb Installer[6099]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”." UserInfo?=0x7f81022d5f20 {NSUnderlyingError=0x7f81022c9cf0 "The file couldn’t be opened because it isn’t in the correct format.", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Frameworks, NSURL=file://localhost/Users/warren/Public/Haskell%20Platform%202011.2.0.1-i386.pkg#ghc.pkg, PKInstallPackageIdentifier=org.haskell.HaskellPlatform?.GHC.pkg, NSLocalizedDescription=An error occurred while extracting files from the package “Haskell Platform 2011.2.0.1-i386.pkg”.} Jul 23 19:52:46 fwb Installer[6099]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. Jul 23 19:52:46 fwb Installer[6099]: IFDInstallController C24D10 state = 7 Jul 23 19:52:46 fwb Installer[6099]: Displaying 'Install Failed' UI. Jul 23 19:52:46 fwb Installer[6099]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

follow-up: ↓ 5   Changed 3 years ago by MtnViewMark

The error is indicative of a corrupted download. I doubt it has anything to do with Lion or Xcode -- the installer isn't even getting as far as reading the contents of the packages!

I believe the MD5 of that version of the Mac installer package should be: 1782d246279fd4c44ac7696221fd055a

Is that what you have?

in reply to: ↑ 4   Changed 3 years ago by fwburton

Replying to MtnViewMark:

The error is indicative of a corrupted download. I doubt it has anything to do with Lion or Xcode -- the installer isn't even getting as far as reading the contents of the packages! I believe the MD5 of that version of the Mac installer package should be: 1782d246279fd4c44ac7696221fd055a Is that what you have?

The MD5 was wrong. I downloaded twice more, once with a bad MD5 and finally with a good MD5. I had the same problem again, even with the correct value for MD5.

  Changed 3 years ago by RichardG

I successfully installed Haskell Platform 2011.2.0.1-i386.pkg on Mac OS X 10.7 using XCode 4.1.1 (releasd Aug 4) about 15 minutes ago. The system had no previous XCode or GHC installed. I didn't have to take any special steps to install it.

  Changed 3 years ago by fwburton

I updated Xcode and tried again. This time, everything worked fine. No problem remains.

Thanks, Warreb

in reply to: ↑ description   Changed 3 years ago by srmurthy

  • keywords installation added
  • milestone set to 2011.x.0.0

I am completely new to Haskell, but I am also having problems in installing the latest Haskell version 2011.2.0.1 for Mac OS X 10.6 (Snow Leopard). I've downloaded the package file, and tried to run it, only to get an error message after the password verification screen for the install. The message is "The Installation failed. The installation could not install the software. The installer could not install the software because there was no software found to install." The related console message is:

"06/11/2011 21:41:43 Installer[2418] Package /Users/sandeepmurthy/Downloads/Haskell Platform 2011.2.0.1-i386.pkg uses a deprecated pre-10.2 format (or uses a newer format but is invalid)."

I thought the current Haskell for Mac package was the right one for Snow Leopard.

Any help would be appreciated. Sandeep.

Replying to fwburton:

I am running MacOS 10.7 (Lion) with Xcode 4.1 9 (the most recent versions in both cases). I cannot install the current 32 bit version of the Haskell Platform. I am attaching a screen shot of the error that the Haskell Installer returns. /haskell-platform/Users/burton/Desktop/Screen Shot 2011-07-23 at 7.52.53 PM.png

  Changed 3 years ago by MtnViewMark

  • status changed from new to closed
  • resolution set to fixed

I believe with the newest HP release, 2011.4.0.0 these issues are all resolved.

Note: See TracTickets for help on using tickets.