-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
I noticed while compiling Nimterop that I'm getting an error where modulegraphs.nim cannot open the file checksums/md5, I've traced it down to here https://github.com/nim-lang/Nim/blob/d30565f810ba5165ea2e5bcd91ea3dee9950051f/compiler/modulegraphs.nim#L15C1-L15C43
Is this possibly because the checksums package has become something that needs to be installed? https://nim-lang.org/docs/md5.html
To clarify, I believe this is a Nim 2.0 issue and not a Nimterop issue. I have tried installing the checksums package, but still get the same error.
Here is the full nimble build --verbose output:
nimble build --verbose
Info: Nimble data file "/home/netsu/.nimble/nimbledata2.json" has been loaded.
Verifying dependencies for [email protected]
Reading official package list
Checking for regex@>= 0.15.0
Info: Dependency on regex@>= 0.15.0 already satisfied
Verifying dependencies for [email protected]
Reading official package list
Checking for unicodedb@>= 0.7.2
Info: Dependency on unicodedb@>= 0.7.2 already satisfied
Verifying dependencies for [email protected]
Reading official package list
Checking for cligen@>= 1.0.0
Info: Dependency on cligen@>= 1.0.0 already satisfied
Verifying dependencies for [email protected]
Building nimterop/nimterop/loaf using c backend
Executing /usr/bin/nim c --colors:on --noNimblePath -d:NimblePkgVersion=0.6.13 --path:/home/netsu/.nimble/pkgs2/regex-0.22.0-cb1ef890cf1a6036ebb3e2c1651f2bd0ad3c4f4f --path:/home/netsu/.nimble/pkgs2/cligen-1.6.15-69330c86da69969dde7d23669e87503bbd17f459 --path:/home/netsu/.nimble/pkgs2/unicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09 -o:/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf /home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: used config file '/etc/nim/config.nims' [Conf]
..........................................................................................................................................................................
/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf.nim(25, 18) template/generic instantiation of `findRec` from here
/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf.nim(14, 18) Warning: use contains(string, Regex2) instead; contains is deprecated [Deprecated]
/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf.nim(30, 25) Warning: use re2(string) instead; re is deprecated [Deprecated]
Hint: [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
81476 lines; 1.822s; 167.68MiB peakmem; proj: /home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf.nim; out: /home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/loaf [SuccessX]
Building nimterop/nimterop/toast using c backend
Executing /usr/bin/nim c --colors:on --noNimblePath -d:NimblePkgVersion=0.6.13 --path:/home/netsu/.nimble/pkgs2/regex-0.22.0-cb1ef890cf1a6036ebb3e2c1651f2bd0ad3c4f4f --path:/home/netsu/.nimble/pkgs2/cligen-1.6.15-69330c86da69969dde7d23669e87503bbd17f459 --path:/home/netsu/.nimble/pkgs2/unicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09 -o:/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/toast /home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/toast.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: used config file '/etc/nim/config.nims' [Conf]
Hint: used config file '/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/toast.nims' [Conf]
.............................................................................................................................................
/home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/globals.nim(4, 26) Hint: duplicate import of 'strutils'; previous import here: /home/netsu/Documents/Code/Nim/FUN/nimterop/nimterop/globals.nim(1, 8) [DuplicateModuleImport]
....................
/usr/lib/nim/compiler/modulegraphs.nim(15, 39) Error: cannot open file: ../dist/checksums/src/checksums/md5
nimble.nim(229) buildFromDir
Error: Build failed for the package: nimterop
Info: Nimble data file "/home/netsu/.nimble/nimbledata2.json" has been saved.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels