Opened 5 years ago

Closed 5 years ago

#7136 closed bug (fixed)

fix for os x package builder script

Reported by: carter Owned by:
Priority: normal Milestone: 7.6.1
Component: Build System Version: 7.6.1
Keywords: Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


the build script in distrib/MacOS/mkinstaller has packagemaker hard coded for the /Developer/ location

newer installs of OS X, eg Lion and Mountain lion, have packagemaker installed separately,

so the most natural hard coded path for package maker (the shell command) would be /Applications/

i'm calling it a build system bug, though its more of a "package system" bug

Attachments (1)

mkinstaller (4.5 KB) - added by carter 5 years ago.
fixed mkinstaller

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by carter

is this something worth me generating a patch or no?

comment:2 Changed 5 years ago by pcapriotti

difficulty: Unknown
Milestone: 7.6.1

is this something worth me generating a patch or no?

Sure, patches are always welcome :)

comment:3 Changed 5 years ago by igloo

Resolution: wontfix
Status: newclosed

However, in this case, you'd be better off patching the Haskell Platform installer script (if it suffers from the same problem). Our plan is not to make installers for GHC itself any more, but to leave that to the HP folk.

Changed 5 years ago by carter

Attachment: mkinstaller added

fixed mkinstaller

comment:4 Changed 5 years ago by carter

Resolution: wontfix
Status: closednew

reopening to get the updated mkinstaller script (attached) merged in.

I'll do the same with the haskell platform build folks, it looks like its (essentially) the exact same script, so it makes sense to update things on both sides

comment:5 Changed 5 years ago by ian@…

commit 87e8c55ece4d0d4f84af26991792afcddc7ef4a4

Author: Ian Lynagh <>
Date:   Thu Oct 11 15:31:57 2012 +0100

    Remove distrib/Mac*; fixes #7136
    We no longer produce installers fo OS X; we leave that to the Haskell
    Platform team.

 distrib/MacFrameworks/Makefile                     |   31 --
 distrib/MacFrameworks/README                       |   13 -
 distrib/MacFrameworks/       |   48 ---
 distrib/MacFrameworks/  |   63 ----
 distrib/MacOS/English.lproj/InfoPlist.strings      |  Bin 136 -> 0 bytes
 .../MacOS/GHC-relocatable.pmdoc/01ghc-contents.xml |    1 -
 distrib/MacOS/GHC-relocatable.pmdoc/01ghc.xml      |    1 -
 distrib/MacOS/GHC-relocatable.pmdoc/index.xml      |   21 --
 distrib/MacOS/GHC-system.pmdoc/01ghc.xml           |    1 -
 distrib/MacOS/GHC-system.pmdoc/        |   31 --
 distrib/MacOS/GHC.xcodeproj/project.pbxproj        |  310 --------------------
 distrib/MacOS/Info.plist                           |   28 --
 distrib/MacOS/installer-docs/lambda-logo.png       |  Bin 10511 -> 0 bytes
 distrib/MacOS/installer-docs/license.html          |  244 ---------------
 distrib/MacOS/installer-scripts/     |   91 ------
 distrib/MacOS/installer-scripts/    |   38 ---
 distrib/MacOS/installer-scripts/relocate           |   14 -
 distrib/MacOS/mkinstaller                          |  105 -------
 18 files changed, 0 insertions(+), 1040 deletions(-)

comment:6 Changed 5 years ago by igloo

Resolution: fixed
Status: newclosed

Now that we no longer use it, I've removed the script instead

Note: See TracTickets for help on using tickets.