Ticket #7136 (closed bug: fixed)

Opened 9 months ago

Last modified 7 months ago

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

mkinstaller Download (4.5 KB) - added by carter 7 months ago.
fixed mkinstaller

Change History

Changed 9 months ago by carter

is this something worth me generating a patch or no?

Changed 9 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 :)

Changed 9 months ago by igloo

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

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

fixed mkinstaller

Changed 7 months ago by carter

  • status changed from closed to new
  • version changed from 7.5 to 7.6.1
  • resolution wontfix deleted

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

Changed 7 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(-)

Changed 7 months ago by igloo

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

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

Note: See TracTickets for help on using tickets.