mxcl/homebrew — Issue #9551: mksh - unarchiving fails on 10.5
Author: alekq
Created: 2012-01-12 07:46:50+00:00
State: open

Building mksh 0.40d fails on unarchiving step:

```
/usr/bin/tar: This does not look like a tar archive
/usr/bin/tar: Skipping to next header
/usr/bin/tar: Archive contains obsolescent base-64 headers
/usr/bin/tar: Error exit delayed from previous errors
Error: Failure while executing: /usr/bin/tar xf /Users/user/Library/Caches/Homebrew/mksh-0.40d.gz
```

Since it mentions "base-64 headers", I guess the problem is that archive is created on 64-bit machine (therefore the problem shouldn't be present on 10.6 and 10.7, I guess) and I'm trying to unarchive it on 10.5 (32-bit only). Besides it's cpio (my first time with this format)...

I guess for 10.5, unarchiving step(s) should be performed (something) like this:

```
gzip -dc mksh-R40d.cpio.gz | cpio -mid
```

At least, it works for me...

Thank you.

Alex