Ticket #978 (closed merge: fixed)

Opened 2 years ago

Last modified 2 years ago

install-sh has wrong permissions

Reported by: giraudr@unbc.ca Assigned to: igloo
Priority: normal Milestone: 6.6.1
Component: Build System Version: 6.6
Severity: major Keywords:
Cc: Difficulty: Unknown
Test Case: Operating System: MacOS X
Architecture: powerpc

Description

System

Mac OS X 10.4.8 for PPC (G4) with GHC 6.4.1 installed.

Description

On this system, neither the source or binary tarballs will install. When the user enters sudo make install the install prcess fails, saying that there and insufficient permissions to run install-sh. (Unfortunately, I did not preserve the original error message.)

Steps to Reproduce

Source tarball

To reproduce the error message:

  1. Download and extract the tarball.
  2. Run ./configure
  3. Run make
  4. Run sudo make install and enter the correct password.
  5. Observe that the install fails with permission errors.

Binary tarball

To reproduce the error message:

  1. Download and extract the tarball.
  2. Install according to instructions.
  3. Observe that the install fails with permission errors.

Workaround

Source tarball

Make install-sh executable by running chmod +x install-sh in the build directory.

Binary tarball

Not tested but will probably be the same as the source tarball.

Change History

11/01/06 09:58:41 changed by giraudr@unbc.ca

To clarify, I was building GHC 6.6. GHC 6.4.1 was previously installed and was used to build GHC 6.6.

01/23/07 17:24:20 changed by igloo

  • milestone set to 6.6.1.

02/01/07 05:36:04 changed by simonmar

  • owner set to igloo.
  • type changed from bug to merge.

Fixed. To merge:

Thu Feb  1 05:11:25 PST 2007  Simon Marlow <simonmar@microsoft.com>
  * chmod +x install-sh, see bug #978

02/02/07 17:16:29 changed by igloo

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

Merged.