When I download either of the two OS X bundles, from
https://pre-release.racket-lang.org/installers/racket-7.1.0.900-i386-macosx.dmg
and
https://pre-release.racket-lang.org/installers/racket-7.1.0.900-x86_64-macosx.dmg
*by clicking on the respective links in Firefox*
… I wind up with a .dmg that makes the OS unhappy. Specifically, trying to open them with
open <name-of-file.dmg>
results in a dialog stating
"“racket-7.1.0.900-i386-macosx.dmg” is damaged and can’t be opened. You should move it to the Trash.”
Bizarrely, downloading these files using
curl '
https://pre-release.racket-lang.org/installers/racket-7.1.0.900-i386-macosx.dmg' > racket-7.dmg
results in a file which opens fine, and for which moreover diff states that there is *no difference* from the dmg that can’t be opened.
I know, that sounds nuts. I’ve tried using Chrome, and I get the same result.
Furthermore, there are no dot files that appear to contain “resource-fork” kinds of files.
…
okay, some searching suggests that there are solutions, and that they involve using the ’spctl’ utility to manipulate the "SecAssessment system policy security” subsystem.
I’m using OS X 10.14.1 Mojave.
when I run ’spctl -a’ on *either* of the dmg files (the one that works, and the one that doesn’t work) I get this result:
hardy:/tmp clements> spctl -a racket-7.1.0.900-i386-macosx.dmg
racket-7.1.0.900-i386-macosx.dmg: CSSMERR_TP_CERT_EXPIRED
hardy:/tmp clements> spctl -a racket-7.dmg
racket-7.dmg: CSSMERR_TP_CERT_EXPIRED
A bit of further experimentation suggests that ‘cp’ does not solve the problem, but the slightly-more-opaque
cat bad-file.dmg > okay-file.dmg
produces a file that I can open.
This is the first time that I’ve had this particular problem; is this known, and will this be a problem with the release?
John
> --
> You received this message because you are subscribed to the Google Groups "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
racket-dev+...@googlegroups.com.
> To post to this group, send email to
racke...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-dev/m2o98d9189.wl-stamourv%40eecs.northwestern.edu.
> For more options, visit
https://groups.google.com/d/optout.