Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract violation building snapshot #3141

Closed
pmatos opened this issue May 1, 2020 · 1 comment
Closed

Contract violation building snapshot #3141

pmatos opened this issue May 1, 2020 · 1 comment
Labels
bug Something isn't working correctly

Comments

@pmatos
Copy link
Collaborator

pmatos commented May 1, 2020

For a snapshot build that doesn't lock (as in #3140) issued with:

$ make snapshot-site CONFIG=$PWD/.github/workflows/site-small.rkt CPUS=4
...
make set-server-config
make[8]: Entering directory '/home/pmatos/dev/racket'
racket/bin/racket -G build/user/config -X racket/collects -A build/user -MCR /home/pmatos/dev/racket/build/zo: -l distro-build/set-server-config build/user/config/config.rktd "/home/pmatos/dev/racket/.github/workflows/site-small.rkt" "default" "" "" "" ""
build-path: contract violation
  expected: (or/c path-for-some-system? path-string? 'up 'same)
  given: #f
  argument position: 1st
  other arguments...:
   "ci-snapshots/20200501-ea43027252"
  context...:
   "/home/pmatos/dev/racket/.github/workflows/site-small.rkt": [running body]
   temp35_0
   for-loop
   run-module-instance!
   do-dynamic-require
   /home/pmatos/dev/racket/build/user/7.7.0.4/pkgs/distro-build-server/config.rkt:233:0: extract-options
   "/home/pmatos/dev/racket/build/user/7.7.0.4/pkgs/distro-build-server/set-server-config.rkt": [running body]
   temp35_0
   for-loop
   run-module-instance!
   perform-require!

I get the above mentioned contract violation.

@pmatos pmatos added the bug Something isn't working correctly label May 1, 2020
@pmatos
Copy link
Collaborator Author

pmatos commented May 1, 2020

My problem here... site-small.rkt defines DISTRO_BUILD_SITE_DEST in

DISTRO_BUILD_SITE_DEST: "${{ runner.temp }}/site-dest/"
which I don't do locally, therefore the #f in build-path.

Sorry for the noise.

@pmatos pmatos closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

1 participant