Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when running make in the repository #172

Open
Kleidukos opened this issue Jun 14, 2020 · 0 comments
Open

Compilation error when running make in the repository #172

Kleidukos opened this issue Jun 14, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Kleidukos
Copy link
Contributor

Hi @emqplus! I am currently on 2ed8e60

I ran make in the repository, as per the instructions, and got this error message:

[4 of 6] Compiling Paths_hamler
Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/hamler/hamler ...
                        
hamler                           > copy/register
Installing library in /home/hecate/Contrib/hamler/.stack-work/install/x86_64-linux-tinfo6/26be186915af48c23b4d2cb254a5f277633539a42b7d0b2dcd2341150524febf/8.6.5/lib/x86_64-linux-ghc-8.6.5/hamler-0.1-KXX99Vk5BRn7EMIEvQosIn
Installing executable hamler in /home/hecate/Contrib/hamler/.stack-work/install/x86_64-linux-tinfo6/26be186915af48c23b4d2cb254a5f277633539a42b7d0b2dcd2341150524febf/8.6.5/bin
Registering library for hamler-0.1..
Completed 171 action(s).
lib/Control/OTP/Supervisor/Behaviour.erl:22: Warning: variable 'Class' is unused
Compiling Data.Void
Compiling Data.Tuple
hamler: FunDef (Constr (FunName (Atom "elem",2))) (Ann (Lam [Var (Constr "_0"),Var (Constr "_1")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "element"))))) [Expr (Constr (EVar (Var (Constr "_0")))),Expr (Constr (EVar (Var (Constr "_1"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "elem")),CLit (LInt 2)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Show
Compiling Data.Semiring
hamler: FunDef (Constr (FunName (Atom "addInt",2))) (Ann (Lam [Var (Constr "_0"),Var (Constr "_1")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "+"))))) [Expr (Constr (EVar (Var (Constr "_0")))),Expr (Constr (EVar (Var (Constr "_1"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "addInt")),CLit (LInt 2)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
hamler: FunDef (Constr (FunName (Atom "showIntImpl",1))) (Ann (Lam [Var (Constr "_0")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "integer_to_list"))))) [Expr (Constr (EVar (Var (Constr "_0"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "showIntImpl")),CLit (LInt 1)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Ref
hamler: FunDef (Constr (FunName (Atom "makeRef",0))) (Ann (Lam [] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "make_ref"))))) [])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "makeRef")),CLit (LInt 0)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Record
Compiling Data.Port
Compiling Data.Int
Compiling Data.Functor
Compiling Data.Function
hamler: FunDef (Constr (FunName (Atom "error",1))) (Ann (Lam [Var (Constr "_0")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "error"))))) [Expr (Constr (EVar (Var (Constr "_0"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "error")),CLit (LInt 1)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
hamler: FunDef (Constr (FunName (Atom "mapListImpl",2))) (Ann (Lam [Var (Constr "_0"),Var (Constr "_1")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "lists")))),Expr (Constr (Lit (LAtom (Atom "map"))))) [Expr (Constr (EVar (Var (Constr "_0")))),Expr (Constr (EVar (Var (Constr "_1"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "mapListImpl")),CLit (LInt 2)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Enum
hamler: FunDef (Constr (FunName (Atom "enumCharRange",2))) (Ann (Lam [Var (Constr "_0"),Var (Constr "_1")] (Expr (Constr (Case (Exprs (Constr [Constr (EVar (Var (Constr "_0"))),Constr (EVar (Var (Constr "_1")))])) [Constr (Alt (Pats (Constr [Constr (PVar (Var (Constr "Start"))),Constr (PVar (Var (Constr "Stop")))])) (Guard (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom ">="))))) [Expr (Constr (EVar (Var (Constr "Stop")))),Expr (Constr (EVar (Var (Constr "Start"))))])))) (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "lists")))),Expr (Constr (Lit (LAtom (Atom "seq"))))) [Expr (Constr (EVar (Var (Constr "Start")))),Expr (Constr (EVar (Var (Constr "Stop")))),Expr (Constr (Lit (LInt 1)))])))),Constr (Alt (Pats (Constr [Constr (PVar (Var (Constr "Start"))),Constr (PVar (Var (Constr "Stop")))])) (Guard (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "<"))))) [Expr (Constr (EVar (Var (Constr "Stop")))),Expr (Constr (EVar (Var (Constr "Start"))))])))) (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "lists")))),Expr (Constr (Lit (LAtom (Atom "seq"))))) [Expr (Constr (EVar (Var (Constr "Start")))),Expr (Constr (EVar (Var (Constr "Stop")))),Expr (Constr (Lit (LInt (-1))))])))),Ann (Alt (Pats (Constr [Constr (PVar (Var (Constr "_4"))),Constr (PVar (Var (Constr "_3")))])) (Guard (Expr (Constr (Lit (LAtom (Atom "true")))))) (Expr (Constr (PrimOp (Atom "match_fail") [Expr (Constr (Tuple [Expr (Constr (Lit (LAtom (Atom "function_clause")))),Expr (Constr (EVar (Var (Constr "_4")))),Expr (Constr (EVar (Var (Constr "_3"))))]))])))) [CLit (LAtom (Atom "compiler_generated"))]])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "enumCharRange")),CLit (LInt 2)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Char
Compiling Data.Bool
Compiling Data.Bits
hamler: FunDef (Constr (FunName (Atom "band",2))) (Ann (Lam [Var (Constr "_0"),Var (Constr "_1")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "band"))))) [Expr (Constr (EVar (Var (Constr "_0")))),Expr (Constr (EVar (Var (Constr "_1"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "band")),CLit (LInt 2)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Data.Atom
hamler: FunDef (Constr (FunName (Atom "atom",1))) (Ann (Lam [Var (Constr "_0")] (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "list_to_atom"))))) [Expr (Constr (EVar (Var (Constr "_0"))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "atom")),CLit (LInt 1)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
hamler: FunDef (Constr (FunName (Atom "isControl",1))) (Ann (Lam [Var (Constr "_0")] (Expr (Constr (Case (Expr (Constr (EVar (Var (Constr "_0"))))) [Constr (Alt (Pats (Constr [Constr (PLit (LInt 127))])) (Guard (Expr (Constr (Lit (LAtom (Atom "true")))))) (Expr (Constr (Lit (LAtom (Atom "true")))))),Constr (Alt (Pats (Constr [Constr (PVar (Var (Constr "C")))])) (Guard (Expr (Constr (Let ([Var (Constr "_1")],Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "=<"))))) [Expr (Constr (Lit (LInt 0))),Expr (Constr (EVar (Var (Constr "_0"))))]))) (Expr (Constr (Let ([Var (Constr "_2")],Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "=<"))))) [Expr (Constr (EVar (Var (Constr "_0")))),Expr (Constr (Lit (LInt 31)))]))) (Expr (Constr (ModCall (Expr (Constr (Lit (LAtom (Atom "erlang")))),Expr (Constr (Lit (LAtom (Atom "and"))))) [Expr (Constr (EVar (Var (Constr "_1")))),Expr (Constr (EVar (Var (Constr "_2"))))])))))))))) (Expr (Constr (Lit (LAtom (Atom "true")))))),Constr (Alt (Pats (Constr [Constr (PVar (Var (Constr "_4")))])) (Guard (Expr (Constr (Lit (LAtom (Atom "true")))))) (Expr (Constr (Lit (LAtom (Atom "false"))))))])))) [CTuple [CLit (LAtom (Atom "function")),CTuple [CLit (LAtom (Atom "isControl")),CLit (LInt 1)]]])
CallStack (from HasCallStack):
  error, called at src/Language/Hamler/Make/Actions.hs:135:25 in hamler-0.1-KXX99Vk5BRn7EMIEvQosIn:Language.Hamler.Make.Actions
Compiling Control.OTP.GenStatem.Types
Compiling Control.OTP.GenServer.Types
Compiling Control.OTP.GenEvent.Types
Compiling Control.OTP.Application.Behaviour
hamler: thread blocked indefinitely in an MVar operation
make: *** [Makefile:9: build] Error 1
@emqplus emqplus added the bug Something isn't working label Jun 15, 2020
@emqplus emqplus added this to the 0.1.1 milestone Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants