#3614: Cabal file parser can't handle colon in description
---------------------------------+------------------------------------------
Reporter: dsf | Owner: igloo
Type: bug | Status: new
Priority: high | Milestone: 6.12.1
Component: libraries/base | Version: 6.12.1 RC1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by dsf):
I'm sorry, I simplified the problem away and then didn't notice that the
message had changed. It turns out that the problem arises when processing
the installed-pkg-config file generated by dh_haskell_install, which
dh_haskell_shlibdeps then picks up using the find_config_for_ghc6
function. I don't speak perl very well, but I suspect this:
{{{
if (/([^\s:]+):(.*)/) {
$field = $1;
print OUTCONFIG "$field:";
$_ = $2;
}
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3614#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs