[racket] raco pkg install with zipfile
I have a multi-collection package,
https://github.com/tonyg/racket-bitsyntax/. When I download an archive
of the package and try to install it using `raco pkg install`, it
doesn't work.
Is it supposed to work, or am I doing something wrong?
Here's a transcript of the commands I'm trying:
$ wget https://github.com/tonyg/racket-bitsyntax/archive/master.zip
$ raco pkg install -n bitsyntax master.zip
raco setup: version: 6.0.1.8 [3m]
raco setup: installation name: development
raco setup: variants: 3m
raco setup: main collects: /home/tonyg/src/racket/racket/collects
raco setup: collects paths:
raco setup: /home/tonyg/src/racket/racket/collects
raco setup: main pkgs: /home/tonyg/src/racket/racket/share/pkgs
raco setup: pkgs paths:
raco setup: /home/tonyg/src/racket/racket/share/pkgs
raco setup: /home/tonyg/src/racket/racket/share/devel-pkgs
raco setup: /home/tonyg/.racket/development/pkgs
raco setup: links files:
raco setup: /home/tonyg/src/racket/racket/share/links.rktd
raco setup: /home/tonyg/src/racket/racket/share/devel-pkgs/links.rktd
raco setup: /home/tonyg/.racket/development/links.rktd
raco setup: main docs: /home/tonyg/src/racket/racket/doc
raco setup: --- updating info-domain tables ---
raco setup: updating: /home/tonyg/src/racket/racket/share/info-cache.rktd
raco setup: --- pre-installing collections ---
raco setup: --- installing foreign libraries ---
raco setup: --- installing shared files ---
raco setup: --- compiling collections ---
raco setup: --- parallel build using 2 jobs ---
raco setup: 1 making: <pkgs>/bitsyntax
raco setup: 1 making: <pkgs>/bitsyntax/racket-bitsyntax-master
raco setup: 1 making:
<pkgs>/bitsyntax/racket-bitsyntax-master/bitsyntax (bitsyntax)
raco setup: 0 making: <pkgs>/racket-index/scribblings/main
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/info.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/info.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitmatch.rkt
raco setup: 0 making: <pkgs>/racket-index/scribblings/main/private
raco setup: 0 making: <pkgs>/racket-index/scribblings/main/user
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstitch.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstx.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstx.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstring.rkt
online-check-syntax: TR's expanded syntax objects; this message is ignored
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstring.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitmatch.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/info.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/info.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/main.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/bitstitch.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/test-bitmatch-bitstitch.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/main.rkt
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/test-typed.rkt
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/test-bitmatch-bitstitch.rkt
raco setup: 1 making:
<pkgs>/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings
cm: compiling
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl
online-check-syntax: TR's expanded syntax objects; this message is ignored
.../racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl:5:21:
cannot open module file
module path: bitsyntax
path: /home/tonyg/src/racket/racket/share/pkgs/bitsyntax/main.rkt
system error: No such file or directory; errno=2
context...:
standard-module-name-resolver
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:345:0:
compile-zo*
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:552:26
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:545:42
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:510:0:
maybe-compile-zo
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:621:2: do-check
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:703:4
/home/tonyg/src/racket/racket/collects/setup/parallel-do.rkt:420:20: loop
cm: compiled
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/test-typed.rkt
raco setup: --- creating launchers ---
raco setup: --- installing man pages ---
raco setup: --- building documentation ---
setup: getting documents
setup: checking installation document directories
setup: getting document information
raco setup: 1 running:
<pkgs>/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl
raco setup: error running: (lib
bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl)
.../racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl:5:21:
cannot open module file
module path: bitsyntax
path: /home/tonyg/src/racket/racket/share/pkgs/bitsyntax/main.rkt
system error: No such file or directory; errno=2
context...:
standard-module-name-resolver
standard-module-name-resolver
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:1499:31
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:892:0:
load-doc/ensure-prefix
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:1146:13
/home/tonyg/src/racket/racket/collects/setup/parallel-do.rkt:420:20: loop
.../racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl:5:21:
cannot open module file
module path: bitsyntax
path: /home/tonyg/src/racket/racket/share/pkgs/bitsyntax/main.rkt
system error: No such file or directory; errno=2
context...:
standard-module-name-resolver
standard-module-name-resolver
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:1499:31
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:892:0:
load-doc/ensure-prefix
/home/tonyg/src/racket/pkgs/racket-pkgs/racket-index/setup/scribble.rkt:1146:13
/home/tonyg/src/racket/racket/collects/setup/parallel-do.rkt:420:20: loop
setup: tidying database
setup: checking for duplicates
setup: determining dependencies
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---
raco setup: --- summary of errors ---
raco setup: error: during making for
<pkgs>/bitsyntax/racket-bitsyntax-master/bitsyntax (bitsyntax)
raco setup:
.../racket/racket/share/pkgs/bitsyntax/racket-bitsyntax-master/bitsyntax/scribblings/bitsyntax.scrbl:5:21:
cannot open module file
raco setup: module path: bitsyntax
raco setup: path:
/home/tonyg/src/racket/racket/share/pkgs/bitsyntax/main.rkt
raco setup: system error: No such file or directory; errno=2
raco setup: context...:
raco setup: standard-module-name-resolver
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:345:0: compile-zo*
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:552:26
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:545:42
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:510:0:
maybe-compile-zo
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:621:2: do-check
raco setup:
/home/tonyg/src/racket/racket/collects/compiler/cm.rkt:703:4
raco setup:
/home/tonyg/src/racket/racket/collects/setup/parallel-do.rkt:420:20: loop
raco setup:
raco pkg install: packages installed, although setup reported errors