Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Failed with nimble. #282

Open
Hapenia-Lans opened this issue Oct 27, 2021 · 2 comments
Open

Building Failed with nimble. #282

Hapenia-Lans opened this issue Oct 27, 2021 · 2 comments

Comments

@Hapenia-Lans
Copy link

I tried to run nimble install nimterop -y, and here is the result:

  Verifying dependencies for nimterop@0.6.13
      Info: Dependency on regex@>= 0.15.0 already satisfied
  Verifying dependencies for regex@0.18.0
      Info: Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for unicodedb@0.9.0
      Info: Dependency on cligen@>= 1.0.0 already satisfied
  Verifying dependencies for cligen@1.3.2
 Installing nimterop@0.6.13
   Building nimterop/nimterop/loaf.exe using c backend
C:\Users\ADMINI~1\AppData\Local\Temp\nimble_12320\hubfastgitorg_nimteropnimterop\nimterop\loaf.nim(33, 16) template/generic instantiation of `dispatchMulti` from here
C:\Users\ADMINI~1\AppData\Local\Temp\nimble_12320\hubfastgitorg_nimteropnimterop\nimterop\loaf.nim(34, 5) template/generic instantiation of `dispatchMultiGen` from here
C:\Users\Administrator\.nimble\pkgs\cligen-1.3.2\cligen.nim(908, 59) template/generic instantiation of `cligenQuitAux` from here
C:\Users\Administrator\.nimble\pkgs\cligen-1.3.2\cligen.nim(754, 31) Error: expression 'dispatchfind(mergeParams(["loaf", "find"], rest), clUse, "", false, false, false)' has no type (or is ambiguous)

Nim version: 1.6.0

@Hapenia-Lans
Copy link
Author

I switched nim to 1.4.8 but also failed.

  Verifying dependencies for nimterop@0.6.13
      Info: Dependency on regex@>= 0.15.0 already satisfied
  Verifying dependencies for regex@0.18.0
      Info: Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for unicodedb@0.9.0
      Info: Dependency on cligen@>= 1.0.0 already satisfied
  Verifying dependencies for cligen@1.3.2
 Installing nimterop@0.6.13
   Building nimterop/nimterop/loaf.exe using c backend
   Building nimterop/nimterop/toast.exe using c backend
# Resetting C:\Users\Administrator\nimcache\nimterop\nimterop\treesitter
# Resetting C:\Users\Administrator\nimcache\nimterop\nimterop\treesitter_c
# Resetting C:\Users\Administrator\nimcache\nimterop\nimterop\treesitter_cpp
stack trace: (most recent call last)
cpp.nim(7, 21)           cpp
setup.nim(38, 10)        treesitterCppSetup
shell.nim(366, 42)       gitPull
shell.nim(335, 34)       gitAtCheckout
shell.nim(90, 11)        execAction
assertions.nim(30, 26)   failedAssertImpl
assertions.nim(23, 11)   raiseAssert
fatal.nim(49, 5)         sysFatal
C:\Users\Administrator\.choosenim\toolchains\nim-1.4.8\lib\system\fatal.nim(49, 5) Error: unhandled exception: shell.nim(90, 7) `not die` Command failed: 128
cmd: cmd /c C: && cd C:\Users\Administrator\nimcache\nimterop\nimterop\treesitter_cpp && git log --decorate --no-color -n 1 --format=oneline
result:
fatal: your current branch 'master' does not have any commits yet
 [AssertionDefect]
    Prompt: Build failed for 'https://hub.fastgit.org/nimterop/nimterop@0.6.13', would you like to try installing 'https://github.com/nimterop/nimterop@#head' (latest unstable)? [y/N]
    Answer:

@geekrelief
Copy link

I got it working by upgrading cligen to 1.15.19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants