Opened 10 years ago

Closed 10 years ago

Last modified 45 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: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History (2)

comment:1 Changed 10 years ago by volkersf

Logged In: YES 
user_id=126328

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 10 years ago by volkersf

  • Status changed from assigned to closed
Logged In: YES 
user_id=126328

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.