# 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:** 7\
**Page:** 3

<div class="post-metadata">

**Author:** ![xgqt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/xgqt/32/592_2.png) [@xgqt](https://racket.discourse.group/u/xgqt)\
**Post date:** [June 11, 2022, 12:27am UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/41 "2022-06-11T00:27:00Z")

</div>

Looks like with 8.5.0.8 the boot files are installed by default.

[[Album] imgur.com ![](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/0ca85c9d5f84845094d027606f207ebe983d1550.jpeg "imgur.com") ](https://imgur.com/a/3D8825l)

---

<div class="post-metadata">

**Author:** ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)\
**Post date:** [June 13, 2022, 3:02pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/42 "2022-06-13T15:02:44Z")

</div>

Just to sync:

It's correct that boot files are installed by default as long as libraries are installed (i.e., `--disable-libs` is not used). I think that may have been true in recent versions with the old build system, too, but I'm not sure. Meanwhile, I could add a `unix-install-boot-files` target if it's helpful enough for compatibility, but I'd rather not add it if it isn't needed.

The Zuo `install` target now supports `DESTDIR`.

Thanks again for all the timely effort here!

---

<div class="post-metadata">

**Author:** ![xgqt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/xgqt/32/592_2.png) [@xgqt](https://racket.discourse.group/u/xgqt)\
**Post date:** [June 13, 2022, 3:24pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/43 "2022-06-13T15:24:49Z")

</div>

> I could add a `unix-install-boot-files` target if it's helpful enough for compatibility, but I'd rather not add it if it isn't needed.

No, there is no need for that, ebuilds are strongly bound to package versions, unlike some other package repositories generated via scripts (nix/guix).

> The Zuo `install` target now supports `DESTDIR`.

Amazing! Will test soon.

---

<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:** [July 29, 2022, 2:26pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/44 "2022-07-29T14:26:23Z")

</div>

To follow up, I've got the release candidate building (including `main-distribution`) for Guix, except that I've disabled the Chez Scheme test suite to avoid the second failure at [Chez test failure on `release` branch · Issue #4359 · racket/racket · GitHub](https://github.com/racket/racket/issues/4359#issuecomment-1193241401) until I can investigate further. I've cherry-picked a few commits beyond the current head of the release branch, `f90bcc15`:

1. `153ff9a` Chez Scheme: fix `compute-size-increments` test
2. `798a989` Zuo: support cross compilation via `configure` and `CC_FOR_BUILD`
3. `4e7ffd3` Zuo: sort hash keys
4. `cf82706` Zuo: CPPFLAGS\_FOR\_BUILD, too
5. `55b6cbd` racket-index: set write permission when copying `docindex.sqlite`

The last one is very relevant for Guix but probably not for anyone else. The first one fixed the initial problem in [Chez test failure on `release` branch · Issue #4359 · racket/racket · GitHub](https://github.com/racket/racket/issues/4359), but the subsequent mysterious failure makes me slightly less confident about recommending cherry-picking it. The Zuo-related commits, though, seemed like they might be relevant for other distros.

---

<div class="post-metadata">

**Author:** ![tgbugs](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/tgbugs/32/579_2.png) [@tgbugs](https://racket.discourse.group/u/tgbugs)\
**Post date:** [August 7, 2022, 10:11pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/45 "2022-08-07T22:11:30Z")

</div>

So I think I missed something when I was reviewing this before. Previously mzdyn3m.o and mzdyn.o were installed by default, but now only the text files for mzdyn3m.lo and mzdyn.lo are installed. What needs to be run to build those now?

---

<div class="post-metadata">

**Author:** ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)\
**Post date:** [August 7, 2022, 10:48pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/46 "2022-08-07T22:48:16Z")

</div>

That was a problem with the build script for BC and `--enable-shared`, and I've pushed as repair as [BC: repair build of "mzdyn[3m].o" with `--enable-shared` · racket/racket@e125d47 · GitHub](https://github.com/racket/racket/commit/e125d47f6e5946615449f124ea74986cc24f1699).

Unfortunately, it's too late for this to be included as part of the v8.6 release. I know this will affect some users, but hopefully few, since it's support for an old way of extending an old variant of Racket.

---

<div class="post-metadata">

**Author:** ![tgbugs](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/tgbugs/32/579_2.png) [@tgbugs](https://racket.discourse.group/u/tgbugs)\
**Post date:** [August 7, 2022, 11:02pm UTC](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063/47 "2022-08-07T23:02:14Z")

</div>

Thanks. I will create a patch with those changes on my end.

[Previous page](https://racket.discourse.group/t/racket-distro-packagers-please-try-building-from-a-snapshot/1063.md?page=2)
