nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.55k stars 1.47k forks source link

[travis] [appveyor] broken: nimble install zip -y => Error: unhandled exception: Permission denied [OSError] #8352

Closed timotheecour closed 6 years ago

timotheecour commented 6 years ago

https://travis-ci.org/nim-lang/Nim/jobs/405151814

The command "./koch nimble" exited with 0.
0.36s$ nim e tests/test_nimscript.nims
Hint: used config file '/home/travis/build/nim-lang/Nim/config/nim.cfg' [Conf]
Hint: used config file '/home/travis/build/nim-lang/Nim/tests/test_nimscript.nims' [Conf]
Nimscript imports are successful.
The command "nim e tests/test_nimscript.nims" exited with 0.
$ nimble install zip -y
    Prompt: No local packages.json found, download it from internet? -> [forced yes]
Downloading Official package list
    Success Package list downloaded.
Downloading https://github.com/nim-lang/zip using git
  Verifying dependencies for zip@0.2.1
 Installing zip@0.2.1
Error: unhandled exception: Permission denied [OSError]

likewise: https://ci.appveyor.com/project/Araq/nim/build/5147

SUCCESS: files identical: exhaustive nimble install zip -y Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Downloading https://github.com/nim-lang/zip using git Verifying dependencies for zip@0.2.1 Installing zip@0.2.1 Error: unhandled exception: The system cannot find the path specified. [OSError] Command exited with code

skilchen commented 6 years ago

This is most likely related to your PR. You probably can't change the behaviour of joinPath without breaking lots of things... Other PR's have no problem with nimble install zip -y

timotheecour commented 6 years ago

you're probably right, thanks!