Racket 7.5 DMG file does not open on OSX 10.11

165 views
Skip to first unread message

David Storrs

unread,
Nov 25, 2019, 2:22:36 PM11/25/19
to Racket Users
When I download and install the .dmg file from racket-lang, I'm told "no mountable filesystems".  I'm not sure if this is an issue with how it was built, with my machine, or with OSX in general.

This may not be worth worrying about, since OSX 10.11 was released
September 30, 2015 and Apple has decided that something from four years ago is FAR too old to worry about backwards compatibility. (grumble, grumble)

Darth Vadør

unread,
Nov 27, 2019, 12:42:18 PM11/27/19
to Racket Users
I am having the same problem, and I am pretty sure that this is because the new DMG uses the novel APFS format, which is not readable by our old HFS computers. 
As far as I know, HFS DMGs can be opened on new APFS Macs; would it be possible / a good idea to keep distributing Racket on an HFS DMG for our dinosaur machines? 

Long live 10-year-old Macs, 
Louis

John Clements

unread,
Nov 27, 2019, 2:26:34 PM11/27/19
to Darth Vadør, Racket Users
This is 100% workaround rather than a fix, but have you considered using the minimal racket tarball:

https://download.racket-lang.org/releases/7.5/installers/racket-minimal-7.5-x86_64-macosx.tgz

…and then manually blessing the binaries using xattr and then installing the rest of the system manually using raco pkg install?

John
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/f7cb5f96-783d-475b-a5d2-390668665217%40googlegroups.com.



Bruce O'Neel

unread,
Nov 27, 2019, 2:31:15 PM11/27/19
to John Clements, Darth Vadør, Racket Users


Hi,


What would be the magic xattr command?

Thanks.

bruce


John Clements

unread,
Nov 27, 2019, 2:37:01 PM11/27/19
to bruce...@pckswarms.ch, Darth Vadør, Racket Users
Well, actually, I would try just running the binaries, first; it may well be that 10.11 doesn’t require the manual deletion of the quarantine flags.

You can also try using a right-click and choosing “open” from the menu; this clears the quarantine flag in many cases.

If it does turn out to be necessary, the command is

xattr -d com.apple.quarantine <name-of-binary>

… IIRC. You’ll probably need to run this on (at least) two targets: the DrRacket.app directory, and the racket binary in the bin/ directory.

John

James Platt

unread,
Dec 3, 2019, 5:29:52 PM12/3/19
to Racket Users

On Nov 27, 2019, at 12:42 PM, Darth Vadør wrote:

> I am having the same problem, and I am pretty sure that this is because the new DMG uses the novel APFS format, which is not readable by our old HFS computers.
> As far as I know, HFS DMGs can be opened on new APFS Macs; would it be possible / a good idea to keep distributing Racket on an HFS DMG for our dinosaur machines?

APFS has a number of new and improved features but I don't think any of them are really important for a software distribution archive. Note that macOS does have zip built in. As I understand it, the reason for dmg as the official distribution format is just that it is supposed to have superior integrity checking compared to zip.

>
> Long live 10-year-old Macs

Indeed. The 2009 Mac Pro which I am using right now is among most likely machines to be in use by the people who my company is developing software for in Racket. This Mac Pro, running El Capitan (macOS 10.11), is not just a workable machine. It's still a powerful machine by todays standards. El Capitan is the highest OS officially supported but it can run High Sierra (10.13) just fine in VMWare. Having said that, we also need to support the newest machines so I will probably try setting up a VM with an even newer OS or buy whatever is the cheapest laptop that can run Catalina. For the Mac Pro, I am considering installing Linux and running macOS only in virtual machines.

If you want to test that the issue really is APFS then you might consider installing a High Sierra (or possibly later) virtual machine. High Sierra, and up, can read APFS.

John Clements

unread,
Dec 3, 2019, 7:09:29 PM12/3/19
to James Platt, Racket Users


> On Dec 3, 2019, at 2:29 PM, James Platt <j...@biomantica.com> wrote:
>
>
> On Nov 27, 2019, at 12:42 PM, Darth Vadør wrote:
>
>> I am having the same problem, and I am pretty sure that this is because the new DMG uses the novel APFS format, which is not readable by our old HFS computers.
>> As far as I know, HFS DMGs can be opened on new APFS Macs; would it be possible / a good idea to keep distributing Racket on an HFS DMG for our dinosaur machines?
>
> APFS has a number of new and improved features but I don't think any of them are really important for a software distribution archive. Note that macOS does have zip built in. As I understand it, the reason for dmg as the official distribution format is just that it is supposed to have superior integrity checking compared to zip.

It sounds to me like an easy solution to your problems would be a .tgz-bundled set, as e.g. we offer for Minimal Racket on the page

https://download.racket-lang.org/releases/7.5/

specifically at the link

https://download.racket-lang.org/releases/7.5/installers/racket-minimal-7.5-x86_64-macosx.tgz

It looks to me like it would be fairly easy to generate this bundle for full racket, unless I’m missing something obvious. It would presumably appear on the “More Variants and Checksums” page along with the other tarballs. Is this something you’d like to see happen for the 7.6 release?

As far as the choice of .dmg for the standard distribution, it has two advantages that I’m aware of:
1) It allows us to create a easy installation path by specifying the way the disk window should look when we open it, as opposed to having an installer, and
2) It’s natively supported by Apple’s notarization workflow; I know that .tgz files don’t work, and I suspect that .zip files wouldn’t work either, though that’s just a guess.

John



>
>>
>> Long live 10-year-old Macs
>
> Indeed. The 2009 Mac Pro which I am using right now is among most likely machines to be in use by the people who my company is developing software for in Racket. This Mac Pro, running El Capitan (macOS 10.11), is not just a workable machine. It's still a powerful machine by todays standards. El Capitan is the highest OS officially supported but it can run High Sierra (10.13) just fine in VMWare. Having said that, we also need to support the newest machines so I will probably try setting up a VM with an even newer OS or buy whatever is the cheapest laptop that can run Catalina. For the Mac Pro, I am considering installing Linux and running macOS only in virtual machines.
>
> If you want to test that the issue really is APFS then you might consider installing a High Sierra (or possibly later) virtual machine. High Sierra, and up, can read APFS.
>
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/1934E9FC-CE39-4C4E-BF3A-0DC37DBA2509%40biomantica.com.



Darth Vadør

unread,
Dec 6, 2019, 9:56:19 PM12/6/19
to Racket Users
Hi,

If it isn't too much trouble, I at least would really appreciate this.
One reason I think this is important is because Homebrew has a cask for Racket, which uses the .dmg distribution. It sets up $PATH (and probably other things I don't know about as well), and can update Racket for you, which is quite pleasant.

If the maintainers of the cask see there is an easy way to support older Macs they might (fingers crossed) consider it.

In any case like I said I would appreciate the .tgz in itself as well!
Thanks,
Louis
> To unsubscribe from this group and stop receiving emails from it, send an email to racket...@googlegroups.com.

James Platt

unread,
Dec 10, 2019, 8:27:01 PM12/10/19
to Racket Users

On Dec 3, 2019, at 7:09 PM, John Clements wrote:

> It sounds to me like an easy solution to your problems would be a .tgz-bundled set, as e.g. we offer for Minimal Racket on the page
>
> https://download.racket-lang.org/releases/7.5/
>
> specifically at the link
>
> https://download.racket-lang.org/releases/7.5/installers/racket-minimal-7.5-x86_64-macosx.tgz
>
> It looks to me like it would be fairly easy to generate this bundle for full racket, unless I’m missing something obvious. It would presumably appear on the “More Variants and Checksums” page along with the other tarballs. Is this something you’d like to see happen for the 7.6 release?
>
> As far as the choice of .dmg for the standard distribution, it has two advantages that I’m aware of:
> 1) It allows us to create a easy installation path by specifying the way the disk window should look when we open it, as opposed to having an installer, and
> 2) It’s natively supported by Apple’s notarization workflow; I know that .tgz files don’t work, and I suspect that .zip files wouldn’t work either, though that’s just a guess.

Yes, I think tgz would be helpful. The market my company is targeting with our software has a much greater share of Mac and Linux than typical and tgz is native to both. On the other hand, would an HFS+ formatted dmg be an option? Support for that format goes all the way back to Mac OS 8.1. I know that HFS+ formatted dmg distributions supported both advantages (1 and 2 above) in the past.

James Platt

unread,
Dec 10, 2019, 8:28:21 PM12/10/19
to Racket Users

On Dec 6, 2019, at 9:56 PM, Darth Vadør wrote:

> If it isn't too much trouble, I at least would really appreciate this.
> One reason I think this is important is because Homebrew has a cask for Racket, which uses the .dmg distribution. It sets up $PATH (and probably other things I don't know about as well), and can update Racket for you, which is quite pleasant.
>
> If the maintainers of the cask see there is an easy way to support older Macs they might (fingers crossed) consider it.

I would also like to have an HFS+ formatted dmg as an option. However, Homebrew has dropped support for El Capitan and earlier but it continues to work (most of the time) if you already had a previous version installed. Everything after El Capitan can read APFS. So, the maintainers of the cask might decide that any new legacy support would be short lived.

Matthew Flatt

unread,
Dec 10, 2019, 8:46:12 PM12/10/19
to James Platt, Racket Users
I’ve changed the distribution build to use HFS+ going forward.
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/EDDD1A40-9C10-4F2B-8A07-6933784C5C41%40biomantica.com.
>

David Storrs

unread,
Dec 11, 2019, 10:45:23 AM12/11/19
to Matthew Flatt, James Platt, Racket Users
Thanks, Matthew,

The version on the downloads page seems to still be APFS.  Will it rebuild at some point?

Matthew Flatt

unread,
Dec 11, 2019, 11:00:42 AM12/11/19
to David Storrs, James Platt, Racket Users
At the moment, we don't have plans to rebuild v7.5, so the change would
kick in with v7.6.

The snapshot builds use HFS+ --- but they did, anyway, since they're
created with an older version of Mac OS.
> https://groups.google.com/d/msgid/racket-users/FFE82A21-AE9E-49F0-9F55-76E47C32
> D58B%40cs.utah.edu
> > .
> >

David Storrs

unread,
Dec 11, 2019, 11:56:58 AM12/11/19
to Matthew Flatt, Racket Users
Brilliant.  Downloaded, installed, works great.  Thanks, Matthew.

Darth Vadør

unread,
Mar 11, 2020, 7:36:38 AM3/11/20
to Racket Users
Just installed Racket 7.6 through Homebrew.  Completely clean with no errors.

Thank you for helping us out!
> > an email to racket...@googlegroups.com.
> > > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/racket-users/EDDD1A40-9C10-4F2B-8A07-6933784C
> 5C41%40biomantica.com
> > .
> > >
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
Reply all
Reply to author
Forward
0 new messages