Ticket #723 (new defect)
Strip path error under Cygwin
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.16 |
| Component: | cabal-install tool | Version: | 1.6.0.3 |
| Severity: | normal | Keywords: | strip cygwin windows |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: | Windows |
Description
I am using a new Windows 7 box using cygwin and the Haskell Platform 2010.2.0.0. I am working with cabal-install version 0.8.2 using version 1.8.0.6 of the Cabal library. Cabal config is default located here: \\fs1\grad\users\pkeir\Application Data\cabal\config Installing packages with cabal-install ends with an error relating to the path argument provided to strip (strip is present on cygwin):
cabal install cpphs
...
Linking dist\build\cpphs\cpphs.exe ... Installing library in \\fs1\grad\users\pkeir\Application Data\cabal\cpphs-1.11\ghc-6.123 Installing executable(s) in \\fs1\grad\users\pkeir\Application Data\cabal\bin /usr/bin/strip: '\fs1\grad\users\pkeir\Application Data\cabal\bin\cpphs.exe': No such file cabal.exe: Error: some packages failed to install: cpphs-1.11 failed during the final install step. The exception was: ExitFailure? 1
It looks like strip is being given one less backslash than it needs at the start. The exe is however installed, and so this command does work:
strip '\\fs1\grad\users\pkeir\Application Data\cabal\bin\cpphs.exe'
Though of course the package remains formally uninstalled.
