# Racket distro packagers: please try building from a snapshot

**URL:** <https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063>\
**Category:** Distro Packagers\
**Created:** [June 6, 2022, 4:26pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063 "2022-06-06T16:26:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [June 6, 2022, 10:16pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/6 "2022-06-06T22:16:35Z")

</div>

> [@tgbugs](#):
>
> I'm getting the following error when using my usual ebuild on gentoo. The reason is because we traditionally build cgc-core first, and that option is now gone due to the transition to zuo. Is there an equivalent way to get the same results as the old make cgc-core?

I don't know exactly what cgc-core is exactly, but for Guix we do totally separate builds from `racket-vm-cgc` -\> `racket-vm-bc` -\> `chez-scheme-for-racket` -\> `racket-vm-cs`, where `vm` signifies minimal Racket but without the `base` and `racket-lib` packages installed. All that can be done with just `configure` and `make` in the `src` directory. I've got Zuo-ified build definitions at [gnu/packages/racket.scm · 271fc33 · Philip McGrath / guix-patches · GitLab](https://gitlab.com/philip1/guix-patches/-/blob/271fc33/gnu/packages/racket.scm) and [gnu/packages/chez.scm · 271fc33 · Philip McGrath / guix-patches · GitLab](https://gitlab.com/philip1/guix-patches/-/blob/271fc33/gnu/packages/chez.scm#L432), if they help. (I'll also check again with a more recent commit.)

> [@benknoble](#):
>
> For the record:
> 
> - Based on [homebrew-cask/racket.rb at master · Homebrew/homebrew-cask · GitHub](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/racket.rb), I don't think Homebrew builds from source for the cask but rather uses the published DMG
> - The formula `minimal-racket` is bottled (built from source) according to [homebrew-core/minimal-racket.rb at master · Homebrew/homebrew-core · GitHub](https://github.com/Homebrew/homebrew-core/blob/master/Formula/minimal-racket.rb).
> 
> It's unclear who _usually_ updates either, but there are some names common between the history of the two.
> 
> * * *
> 
> I was going to try building the snapshot via Homebrew to see what happened, but I don't have the time and expertise at the moment, so this is my "next best contribution."

It would be good to figure out the Homebrew issue from [Minimal-racket is very slow before installing compiler-lib - #20 by LiberalArtist](https://racket.discourse.group/t/minimal-racket-is-very-slow-before-installing-compiler-lib/967/20). It looked to me like it wasn't finding compiled files in the `lib` directory from a Unix-style install without `--enable-sharezo`.

---

_[View the full topic](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063)._
