Ticket #723 (new defect)

Opened 3 years ago

Last modified 15 months ago

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.

Change History

Changed 3 years ago by duncan

A log with -v3 would be helpful here to see exactly how cabal is invoking external tools.

Attaching a copy of the cabal config file would also be handy.

Changed 15 months ago by kosmikus

  • milestone set to cabal-install-0.16

I'm wondering if this is still an issue.

Note: See TracTickets for help on using tickets.