[Hackage] #723: Strip path error under Cygwin
Hackage
cvs-ghc at haskell.org
Fri Aug 13 10:05:11 EDT 2010
#723: Strip path error under Cygwin
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.6.0.3
Severity: normal | Keywords: strip cygwin windows
Difficulty: unknown | Ghcversion:
Platform: Windows |
---------------------------------+------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/723>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list