Skip to content

FreeBSD port broken

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


ParsePkgConfLite.hs:269:
    Warning: Pattern match(es) are overlapped
             In a case alternative: _ -> ...
/usr/ports/lang/ghc/work/ghc-6.2.1-boot/bin/i386-unknown-freebsd/ghc-6.2.1
-H16m -O -cpp -DPKG_TOOL -DWANT_PRETTY
-DGHC_PKG_VERSION=6.2.1 -\
package lang -package util -package text    -c Main.hs
-o Main.o  -ohi Main.hi
Main.hs:87: warning: backslash and newline separated by
space
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
`/usr/ports/lang/ghc/work/ghc-6.2.1/ghc'
gmake: *** [build] Error 1
*** Error code 2

Stop in /usr/ports/lang/ghc.

-- Ben Crowell, crowell04 at lightNOSPAMandmatter.com
Trac metadata
Trac field Value
Version 6.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedWorksForMe
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information