1. At the download page, I hover over [OS X tar.xz]
2. It says I'll be downloading:
http://downloads.dlang.org/releases/2.x/2.070.0/dmd.2.070.0.osx.tar.xz
3. I download it, and the file downloaded is:
dmd.2.070.0.osx.tar.tar
which is a different file name. I transfer it to OSX. I try to untar it:
~/dmd.2.070> tar -xf ../dmd.2.070.0.osx.tar.tar
tar: Error opening archive: Child process exited with status 254Child process exited with status 254
~/dmd.2.070> tar -xf --xz ../dmd.2.070.0.osx.tar.tar
tar: Error opening archive: Failed to open '--xz'
~/dmd.2.070> tar -xf -J ../dmd.2.070.0.osx.tar.tar
tar: Error opening archive: Failed to open '-J'
~/dmd.2.070> tar -xfJ ../dmd.2.070.0.osx.tar.tar
tar: Error opening archive: Failed to open 'J'
Complete failure. The web site should say what command to use to untar it, since the usual -xf switch does not work on it.
Comment #1 by bugzilla — 2016-02-17T03:48:27Z
Apparently the command switch to use is -zxvf, but that produces the same error message.
Comment #2 by bugzilla — 2016-02-17T03:51:14Z
At the very least, the dmd.2.070.tar.tar file is corrupted.
Comment #3 by doob — 2016-02-17T07:55:06Z
No problem for me here. It downloaded the file "dmd.2.070.0.osx.tar.xz". I just double clicked to unpack it. That will open the built-in Archive Utility. It also works with "tar -zxvf".
Comment #4 by greensunny12 — 2018-03-27T06:03:38Z
No problem here either and we use the OSX archive on many many OSX CIs (via Travis).
As this issue is about 2.070 I'm assuming that of an issue really existed, it has been fixed now -> closing