cygpath uttering nonsense

christophe.troestler's Avatar

christophe.troestler

03 Dec, 2015 04:06 PM

I use platform=w64 and os=Unstable because it comes with Cygwin preinstalled. However, cygpath is uttering plain nonsense, specifically the second output of:

cygpath -w "/c/Program Files/OCaml"
C:\Program Files\OCaml
cygpath -w "/cygdrive/c/Program Files/OCaml"
C:\Program Files\Git\cygdrive\c\Program Files\OCaml
Before I report this to Cygwin, may you check & confirm that Cygwin is properly installed on your end?
  1. Support Staff 1 Posted by Feodor Fitsner on 03 Dec, 2015 06:27 PM

    Feodor Fitsner's Avatar

    Well, it depends on what would you mean under "properly installed"? It's basically XCopy deployment.

    Oh wait, looking at the build log... it might be conflicting with the tools coming along with Git for Windows.

    Try adding set PATH=C:\cygwin\bin;%PATH% in the beginning of your build.

    PS: You don't need unstable anymore - cygwin is installed on all build workers.

  2. 2 Posted by christophe.troe... on 03 Dec, 2015 10:16 PM

    christophe.troestler's Avatar

    This indeed makes cygpath behave more sensibly:
    https://ci.appveyor.com/project/Chris00/ocamlfind-win/build/1.0.97#L7

    I'll have to see now whether it is not Git — that I need as well — that has a problem...

  3. 3 Posted by christophe.troe... on 03 Dec, 2015 11:42 PM

    christophe.troestler's Avatar

    BTW, is the fact that Cygwin is installed on all workers advertised somewhere? (I saw mention of it only in some discussions.)

  4. Support Staff 4 Posted by Feodor Fitsner on 04 Dec, 2015 12:25 AM

    Feodor Fitsner's Avatar
  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac