cover package?

30 views
Skip to first unread message

Stephen Foster

unread,
Feb 26, 2020, 4:14:38 PM2/26/20
to Racket Users
I have a Dockerized racket app that has (today, I think) started failing with errors related to the "cover" package.  I don't use cover -- though I assume one of my dependencies does.  Adding "cover" explicitly to my info.rkt file doesn't fix the issue.  

What might be going wrong here?  And how can I track down what depends on this?  

open-input-file: cannot open module file
  module path: cover
  path: /root/.racket/7.5/pkgs/cover/main.rkt
  system error: no such file or directory; rktio_err=3
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
  context...:
   maybe-raise-missing-module
   default-load-handler
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 10 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   ...


standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...


standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...


etc.

Stephen Foster

unread,
Feb 26, 2020, 4:28:56 PM2/26/20
to Racket Users
On further investigation, cover just seems to be broken, older versions install without errors.  I'll open a ticket on that repo.

--
You received this message because you are subscribed to a topic in the Google Groups "Racket Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/racket-users/X7O4bUAnqxU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/5b09c421-621c-4485-91eb-81a2ab6249d4%40googlegroups.com.


--


Stephen Foster
ThoughtSTEM Co-Founder

Spencer Florence

unread,
Feb 26, 2020, 5:47:11 PM2/26/20
to Racket Users
Moral of this story: the pkg-build server configuration can have bugs in it. Therefore, if you don't test it, it will have bugs in it

--spencer

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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CA%2BzSu29hL3BOa7Ez-Om29RNr9B-E19M%3Dr1TX3KV-MMB8AL%3DV%2Bg%40mail.gmail.com.

Hendrik Boom

unread,
Feb 26, 2020, 10:04:08 PM2/26/20
to Racket Users
On Wed, Feb 26, 2020 at 04:46:56PM -0600, Spencer Florence wrote:
> Moral of this story: the pkg-build server configuration can have bugs in
> it. Therefore, if you don't test it, it will have bugs in it

"That which is not tested is broken."

-- Anon.

I wish I knew where I first heard this. There are lots of variations on
this theme, buth this one feels canonically quotable. It has the right
rythm.

-- hendrik
Reply all
Reply to author
Forward
0 new messages