Opened 11 years ago

Closed 11 years ago

Last modified 46 years ago

#270 closed bug (Works For Me)

FreeBSD port broken

Reported by: nobody Owned by: volkersf
Priority: normal Milestone:
Component: Compiler Version: 6.2.1
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):


The FreeBSD port of ghc is broken in FreeBSD 5.3-RC2.
There is a problem with the libraries (wants
version 2, but 3 is installed) and (wants 3, 5 is installed). Getting
around those problems with symbolic links, I then would
up with the following error message:

    Warning: Pattern match(es) are overlapped
             In a case alternative: _ -> ...
package lang -package util -package text    -c Main.hs
-o Main.o  -ohi Main.hi
Main.hs:87: warning: backslash and newline separated by
Main.hs:259: warning: backslash and newline separated
by space
Main.hs:260: warning: backslash and newline separated
by space
Main.hs:87: lexical error in string/character literal
gmake[4]: *** [Main.o] Error 1
gmake[3]: *** [boot] Error 2
gmake[2]: *** [boot] Error 1
gmake[1]: *** [boot] Error 1
gmake[1]: Leaving directory
gmake: *** [build] Error 1
*** Error code 2

Stop in /usr/ports/lang/ghc.

-- Ben Crowell, crowell04 at

Change History (2)

comment:1 Changed 11 years ago by volkersf

Logged In: YES 

Can you please update your FreeBSD Ports Collection and check if the 
problem persists with 6.2.2? I'll check this, too, but it'll take a bit.

comment:2 Changed 11 years ago by volkersf

  • Status changed from assigned to closed
Logged In: YES 

I just completed a fresh build on 5.3RC2 w/o any problems.

Note that some aspect of your particular FreeBSD instalation might be the 
origin of your problems if you updated from a previous version, e.g. stale 
dependencies in libgmp. Please contact me off-list if your interested in 
tracking down the exact problem.
Note: See TracTickets for help on using tickets.