6.12.1: make framework-pkg on OS X creates package with broken installer
System: OS X 10.6 (Snow Leopard), Intel Core 2 Duo system (64-bit capable, running 32-bit kernel), universal (64/32 combined) !MacPorts
Observed: .pkg file built via make framework-pkg starts Installer, but does not show a dialog box so installation can proceed.
Expected: Opening the .pkg file should have shown a dialog box, same as the .pkg available from the GHC download page.
I installed GHC 6.12.1 on OS X via the binary .pkg, and then proceeded to rebuild it from source via make framework-pkg so it would use my !MacPorts libraries and not break on libiconv (so I could then install xmonad-contrib successfully). The build process completes and creates a file GHC-6.12.1-i386.pkg. When opening this file, Installer launches, but nothing else happens — no dialog opens, etc. Interestingly, though, the contents seem fine; this pkg file can be extracted manually via xar, and then the package contents therein extracted via gzip and cpio, and the extracted framework directory can then take the place of the existing /Library/Frameworks/GHC.framework directory and everything works as expected (including not breaking on libiconv).
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |