Jimmi, I've noticed this for, well, years. You probably know it too. Racket builds during the "stage" phase. By definition, the building should be complete before stage starts. Stage only does installation.
I'm guessing the actual vendor makefile is doing something wrong. Can it be patched to split the target so building is done in "build" phase and the installation in "stage" phase?
It's not the only port that violates this, but they should all be fixed. Racket is particularly obvious because it spends 1-2 hours in stage phase.
Oops, this got misassigned. Fixing assignment.
That's "raco" building its stuff in place - it could easy or tricky, but the worst part is probably just the build times for testing. Let me have a look and see if I can move the raco build into the install stage where it belongs...
Did you get a chance to see if racket can be (easily) made to build during the build phase? (rather than build during the install phase)
(In reply to John Marino from comment #3)
Found a fix! Testing with the 6.3 upgrade.
how is the upgrade to 6.3 coming along?
Any progress? The port still fails at the QA stage.
The latest release is 6.5 now.
A commit references this bug:
Date: Mon Jul 4 14:06:49 UTC 2016
New revision: 418028
Update lang/racket and lang/racket-minimal to version 6.5.
- Use prebuilt Racket packages to prevent building during the
staging phase (PR 200101).
Prevent inclusion of libunique, which brings in GTK2, which
then conflicts with the default GTK3 toolkit.
Include commit f16f54a from github/racket/racket, which fixes
semaphore handling when futures are disabled (this broke the
- Add options for FUTURES and JIT (i386/amd64 only).
- Remove unnecessary patches.
~ Credits ~
Juan Francisco Cantero Hurtado (OpenBSD maintainer) - kindly
brought me up to speed on Racket's status and prebuilt packages,
so I could remove lots of cruft from the port.
Sam Tobin-Hochstadt - tracked down the futures issue.
Differential Revision: https://reviews.freebsd.org/D6984
Differential Revision: https://reviews.freebsd.org/D6985
Reviewed by: Martin Sugioarto
Everything's fixed \o/
(please let me know if anything is needed on the DragonFly side)
Everything builds fine on DragonFly. As a major bonus, the build time dropped from 2-3 hours to 8 minutes!