nake
nake copied to clipboard
Aborting installation due to build failure on Windows
Hello!
Tried to install nake
on Windows, but something goes wrong. What could be the problem?
>nimble update
>nimble install nake --verbose
Reading official package list
Downloading https://github.com/fowlmouth/nake using git
Cloning latest tagged version: 1.9.2
Setting Nim stdlib prefix to C:\Nim
Setting Nim stdlib path to C:\Nim\lib
Warning: Package 'nake' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nake.nim', but a file named 'nakefile.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'nake.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nake', then move it into a 'nakepkg\' subdirectory. If it's a test file or otherwise not required to build the the package 'nake.nim', prevent its installation by adding `skipFiles = @["nakefile.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for [email protected]
Installing [email protected]
Building nake/nake.exe using c backend
Prompt: Build failed for '[email protected]', would you like to try installing 'nake@#head' (latest unstable)? [y/N]
Answer: n
Error: Aborting installation due to build failure
>nimble install nake --verbose
Reading official package list
Downloading https://github.com/fowlmouth/nake using git
Cloning latest tagged version: 1.9.2
Setting Nim stdlib prefix to C:\Nim
Setting Nim stdlib path to C:\Nim\lib
Warning: Package 'nake' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'nake.nim', but a file named 'nakefile.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'nake.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'nake', then move it into a 'nakepkg\' subdirectory. If it's a test file or otherwise not required to build the the package 'nake.nim', prevent its installation by adding `skipFiles = @["nakefile.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for [email protected]
Installing [email protected]
Building nake/nake.exe using c backend
Prompt: Build failed for '[email protected]', would you like to try installing 'nake@#head' (latest unstable)? [y/N]
Answer: y
Reading official package list
Downloading https://github.com/fowlmouth/nake using git
Setting Nim stdlib prefix to C:\Nim
Setting Nim stdlib path to C:\Nim\lib
Verifying dependencies for nake@#head
Installing nake@#head
Building nake/nake.exe using c backend
Error: Build failed for package: nake
... Details:
... Execution failed with exit code 1
... Command: "C:\Nim\bin\nim.exe" c --noBabelPath -d:release -o:"C:\Users\Erik\AppData\Local\Temp\nimble_9936\githubcom_fowlmouthnake_#head\nake.exe" "C:\Users\Erik\AppData\Local\Temp\nimble_9936\githubcom_fowlmouthnake_#head\nake.nim"
... Output: Hint: used config file 'C:\Nim\config\nim.cfg' [Conf]
... Hint: system [Processing]
... Hint: nake [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: math [Processing]
... Hint: bitops [Processing]
... Hint: algorithm [Processing]
... Hint: unicode [Processing]
... Hint: parseopt2 [Processing]
... Hint: os [Processing]
... Hint: times [Processing]
... Hint: options [Processing]
... Hint: typetraits [Processing]
... Hint: strformat [Processing]
... Hint: macros [Processing]
... Hint: winlean [Processing]
... Hint: dynlib [Processing]
... Hint: ospaths [Processing]
... nake.nim(20, 18) Warning: Use the 'parseopt' module instead; parseopt2 is deprecated [Deprecated]
... Hint: tables [Processing]
... Hint: hashes [Processing]
... Hint: rdstdin [Processing]
... Hint: nakelib [Processing]
... nakelib.nim(12, 18) Warning: Use the 'parseopt' module instead; parseopt2 is deprecated [Deprecated]
... Hint: osproc [Processing]
... Hint: strtabs [Processing]
... Hint: streams [Processing]
... Hint: cpuinfo [Processing]
... nakelib.nim(90, 18) Error: usage of 'isNil' is a user-defined error
I have a very similar issue, would be nice to get some updates on this!