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

Aborting installation due to build failure on Windows #61

Open
erikbasargin opened this issue Aug 26, 2018 · 1 comment
Open

Aborting installation due to build failure on Windows #61

erikbasargin opened this issue Aug 26, 2018 · 1 comment

Comments

@erikbasargin
Copy link

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
@KMikeeU
Copy link

KMikeeU commented Feb 19, 2019

I have a very similar issue, would be nice to get some updates on this!

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