On Wed, Dec 15, 2021 at 04:49:06AM +0000, James Cook wrote: > On Tue, Dec 14, 2021 at 09:44:03PM +0100, Juan Francisco Cantero Hurtado > wrote: > > On Tue, 14 Dec 2021 14:18:39 +0000 > > James Cook <[email protected]> wrote: > > > > > On Tue, Dec 14, 2021 at 10:11:12AM +0100, Denis Fondras wrote: > > > > Le Tue, Dec 14, 2021 at 05:27:26AM +0000, James Cook a écrit : > > > > > On Sun, Nov 28, 2021 at 10:46:28AM +0100, Denis Fondras wrote: > > > > > > Straightforward update to v8.3 > > > > > > > > > > It looks like the update to 8.3 broke the "raco exe" command. > > > > > > > > > > > > > I am surprised it ever worked. Minimal installation does not seem > > > > to provide it. > > > > > > Oops, sorry for the noise. After "raco pkg install compiler" I have > > > the raco exe command. And conversely, with 8.2, if I delete > > > ~/.local/share/racket, the "raco exe" command also stops working, so > > > this is nothing new. > > > > > > > You have something wrong in your config (or you changed the defaults). > > Our racket-minimal doesn't install files in ~/.local/share/racket. > > I just did a little experiment. On a brand new vm running current, > "raco pkg install base" causes ~/.local/share/racket to be created. Is > that unexpected?
Yes, I can't reproduce that on sparc64 or amd64. > > My steps: > > 1. Installed the latest snapshot on a new virtual machine. > 2. As root, pkg_add racket-minimal. (At the prompt, I chose > "racket-minimal-8.3" rather than the no-jit flavour.) > 3. As non-root, "raco pkg install base". > > Result: in the non-root user's home dir, there's now > ~/.local/share/racket/8.3 > > Based on that experiment, it does not seem strange to me that my > existing system had ~/.local/share/racket. And it has not caused me any > trouble. Am I doing something wrong? I don't see anything wrong with that but I don't know why you have that dir. Run the command "raco pkg config" as regular user. You should have something like this output: current-amd64$ raco pkg config name: 8.3 catalogs: https://download.racket-lang.org/releases/8.3/catalog/ https://pkgs.racket-lang.org https://planet-compats.racket-lang.org default-scope: user download-cache-dir: /home/juanfra/.racket/download-cache download-cache-max-files: 1024 download-cache-max-bytes: 134217728 git-checkout-credentials: trash-max-packages: 512 trash-max-seconds: 172800 network-retries: 5 default-scope should say "user" and the download dir should be the same but with your user. Running "racket-user-bin-paths" you should see the bin directory path within $HOME/.racket. And this is the right config file in /etc/racket/config.rktd: ;; generated by unixstyle-install #hash( (doc-dir . "/usr/local/share/doc/racket") (lib-dir . "/usr/local/lib/racket") (pkgs-dir . "/usr/local/share/racket/pkgs") (share-dir . "/usr/local/share/racket") (include-dir . "/usr/local/include/racket") (bin-dir . "/usr/local/bin") (apps-dir . "/usr/local/share/applications") (man-dir . "/usr/local/man") (absolute-installation? . #t) (compiled-file-roots . (same "/usr/local/lib/racket/compiled")) (build-stamp . "") (doc-search-url . "https://download.racket-lang.org/releases/8.3/doc/local-redirect/index.html") (catalogs . ("https://download.racket-lang.org/releases/8.3/catalog/" #f)) ) -- Juan Francisco Cantero Hurtado http://juanfra.info
