Building Racket 7.5 CS on MacOS Catalina

"Bruce O'Neel" <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
Hi all,  
  
I normally build Racket from source, and, for 7.5 I decided to try Racket CS as well.  
  
Racket 7.5 builds fine from minimal source.  Racket CS builds fine as well from minimal source, but, when I run the command to build the rest of the distribution.  
  
./raco pkg install --deps search-auto -i main-distribution  
  
  
it fails with:  
  
Resolving "main-distribution" via [https://download.racket-lang.org/releases/7.5/catalog/](https://download.racket-lang.org/releases/7.5/catalog/)  


bytes-copy!: contract violation  


  expected: (and/c bytes? (not/c immutable?))  


  given: 54043195528445952  


  context...:  


   do-raise-argument-error  


   bytes-copy!  


   try-again  


   loop  


   do-display9  


   loop  


   fprintf  


   /Users/XXX/tmp/racket-7.5/collects/net/http-client.rkt:152:0: http-conn-send!27  


   call-with-values  


   /Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:555:3  


   /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:201:0: [http://getpost-impure-port](http://getpost-impure-port)  


   /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:308:2: redirection-loop  


   call-with-values  


   /Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:555:3  


   /Users/XXX/tmp/racket-7.5/collects/pkg/private/network.rkt:59:3  


   dynamic-wind  


  
The full set of commands run:  
  
tar xjvf ~/archive/Racket/racket-minimal-7.5-src-builtpkgs.tgz  
cd racket-7.5/src  


mkdir build  


cd build  


../configure --enable-csdefault  


 make  


 make install  


 cd ../../bin  


 ./raco pkg install --deps search-auto -i main-distribution  


  
MacOS 10.15.1, and, command line developer tools:  
  
gcc -v  


Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/[MacOSX.sdk/usr/include/c++/4.2.1](http://MacOSX.sdk/usr/include/c++/4.2.1)  


Apple clang version 11.0.0 (clang-1100.0.33.8)  


Target: x86_64-apple-darwin19.0.0  


Thread model: posix  


InstalledDir: /Library/Developer/CommandLineTools/usr/bin  


  
Thanks!  
  
cheers  
  
bruce  
  

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/1574327811-56147c15d1164b12004e243ea648d09b%40pckswarms.ch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.