#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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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/PackageMaker?.app/Contents/MacOS/PackageMaker

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 18 months ago.
fixed mkinstaller

Download all attachments as: .zip

Change History (7)

comment:1 Changed 20 months ago by carter

is this something worth me generating a patch or no?

comment:2 Changed 20 months ago by pcapriotti

  • Difficulty set to Unknown
  • Milestone set to 7.6.1

is this something worth me generating a patch or no?

Sure, patches are always welcome :)

comment:3 Changed 20 months ago by igloo

  • Resolution set to wontfix
  • Status changed from new to closed

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 18 months ago by carter

fixed mkinstaller

comment:4 Changed 18 months ago by carter

  • Resolution wontfix deleted
  • Status changed from closed to new
  • Version changed from 7.5 to 7.6.1

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 18 months ago by ian@…

commit 87e8c55ece4d0d4f84af26991792afcddc7ef4a4

Author: Ian Lynagh <ian@well-typed.com>
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/build-framework-gmp.sh       |   48 ---
 distrib/MacFrameworks/build-framework-readline.sh  |   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/index.xml.in        |   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/Uninstaller.in     |   91 ------
 distrib/MacOS/installer-scripts/create-links.in    |   38 ---
 distrib/MacOS/installer-scripts/relocate           |   14 -
 distrib/MacOS/mkinstaller                          |  105 -------
 18 files changed, 0 insertions(+), 1040 deletions(-)

comment:6 Changed 18 months ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.