Skip to content

Error message on Cygwin - "pwd -W" #13

@arjenmarkus

Description

@arjenmarkus

I have tried to build fpm on Windows/Cygwin and got an error message. The output to screen was:

$ stack build
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.6.5.
Already downloaded.
Already downloaded.
Decompressing ghc-8.6.5.tar.xz...

7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: C:\Users\markus\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5.tar.xz

Extracting ghc-8.6.5.tar

Everything is Ok

Size: 1773445120
Compressed: 280280296
Extracting ghc-8.6.5.tar...
Extracted total of 9780 files from ghc-8.6.5.tar
GHC installed to C:\Users\markus\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.5
Cloning 536a5e6ffb148d0dd4e4c4b120913a6744097676 from https://github.com/kowainik/tomland.git
Received ExitFailure 1 when running
Raw command: "C:\cygwin\bin\git.EXE" submodule update --init --recursive
Run from: C:\cygwin\tmp\with-repo1848\cloned
Standard error:

/usr/libexec/git-core/git-sh-setup: line 344: pwd: -W: invalid option
pwd: usage: pwd [-LP]
Unable to determine absolute path of git directory

Apparently, an option -W to the "pwd" command is being used that does not exist in the Cygwin version of "pwd".

How to proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions