Ticket #15248 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Omega 1.4.2 Build Fails

Reported by: brianjlandau@gmail.com Assigned to: jmr@macports.org
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc: ggreif@gmail.com

Description

Error:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_Omega/work/Omega" && make strip " returned error 2
Command output: [ 4 of 30] Compiling Auxillary        ( Auxillary.hs, Auxillary.o )
[ 5 of 30] Compiling Monads           ( Monads.hs, Monads.o )
[ 6 of 30] Compiling Bind             ( Bind.hs, Bind.o )
[ 7 of 30] Compiling ParseError       ( ParseError.hs, ParseError.o )
[ 8 of 30] Compiling CommentDef       ( CommentDef.hs, CommentDef.o )
[ 9 of 30] Compiling Parser           ( Parser.hs, Parser.o )
[10 of 30] Compiling StdTokenDef      ( StdTokenDef.hs, StdTokenDef.o )
[11 of 30] Compiling TokenDef         ( TokenDef.hs, TokenDef.o )
[12 of 30] Compiling ParseExpr        ( ParseExpr.hs, ParseExpr.o )
[13 of 30] Compiling ParseToken       ( ParseToken.hs, ParseToken.o )
[14 of 30] Compiling ParserAll        ( ParserAll.hs, ParserAll.o )
[15 of 30] Compiling SyntaxExt        ( SyntaxExt.hs, SyntaxExt.o )
[16 of 30] Compiling RankN            ( RankN.hs, RankN.o )
[17 of 30] Compiling NarrowData       ( NarrowData.hs, NarrowData.o )
[18 of 30] Compiling Narrow           ( Narrow.hs, Narrow.o )
[19 of 30] Compiling Syntax           ( Syntax.hs, Syntax.o )

Syntax.hs:266:29:
    Could not deduce (HasNext m)
      from the context (Freshen Pat, Freshen Var, Fresh m)
      arising from a use of `acc2' at Syntax.hs:266:29-32
    Possible fix:
      add (HasNext m) to the context of the type signature for `freshen'
    In the first argument of `foldrM', namely `acc2'
    In a 'do' expression: (ps', ns) <- foldrM acc2 ([], []) ps
    In the expression:
        do let acc2 p (ps, ns) = ...
           (ps', ns) <- foldrM acc2 ([], []) ps
           return (Pcon c ps', ns)
make: *** [all] Error 1

Attachments

Omega1.4.2-1.tgz (1.3 kB) - added by ggreif@gmail.com on 2008-05-10 14:09:20.
do "tar ztf Omega1.4.2-1.tgz" to see contents
Omega.svn.diff (1.1 kB) - added by ggreif@gmail.com on 2008-05-10 14:11:44.
this is just an svn diff to lang/Omega

Change History

2008-05-10 12:55:56 changed by ggreif@gmail.com

2008-05-10 14:09:20 changed by ggreif@gmail.com

  • attachment Omega1.4.2-1.tgz added.

do "tar ztf Omega1.4.2-1.tgz" to see contents

2008-05-10 14:11:44 changed by ggreif@gmail.com

  • attachment Omega.svn.diff added.

this is just an svn diff to lang/Omega

2008-05-10 14:13:19 changed by ggreif@gmail.com

The patches I have just attached solve the problem. Please pick the most convenient format and commit.

2008-05-10 19:52:24 changed by jmr@macports.org

  • owner changed from macports-tickets@lists.macosforge.org to jmr@macports.org.
  • status changed from new to assigned.

2008-05-10 20:00:47 changed by jmr@macports.org

  • status changed from assigned to closed.
  • resolution set to fixed.

Committed in r36677.