matchwood / ghcjs-stack-dist

24 stars 7 forks source link

Linking template Haskell -- Stuck for 10+ hrs #14

Open dkgitdev opened 5 years ago

dkgitdev commented 5 years ago

Hello.

In order to reproduce the issue - do the following steps.

stack new proj
cd proj

then change

resolver: ...

to

resolver: lts-9.21
compiler: ghcjs-0.2.1.9009021_ghc-8.0.2
compiler-check: match-exact
setup-info:
  ghcjs:
    source:
      ghcjs-0.2.1.9009021_ghc-8.0.2:
        url: https://github.com/matchwood/ghcjs-stack-dist/raw/master/ghcjs-0.2.1.9009021.tar.gz
        sha1: b1740c3c99e5039ac306702894cd6e58283f4d31

in a stack.yaml file.

After that -- stack setup.

The values are taken from the readme table.

UPD: Just tried with https://github.com/matchwood/ghcjs-stack-dist/blob/master/sample-lts8-11-stack.yaml

Same. Here's the end of log:

Completed    case-insensitive-1.2.0.10        
Configuring attoparsec-0.13.1.0...            
Preprocessing library for attoparsec-0.13.1.0..
Building library for attoparsec-0.13.1.0..    
[ 1 of 21] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.js_o )
[ 2 of 21] Compiling Data.Attoparsec.Text.FastSet ( Data/Attoparsec/Text/FastSet.hs, dist/build/Data/Attoparsec/Text/FastSet.js_o )
[ 3 of 21] Compiling Data.Attoparsec.Text.Buffer ( Data/Attoparsec/Text/Buffer.hs, dist/build/Data/Attoparsec/Text/Buffer.js_o )
[ 4 of 21] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.js_o )
[ 5 of 21] Compiling Data.Attoparsec.Internal.Fhthagn ( Data/Attoparsec/Internal/Fhthagn.hs, dist/build/Data/Attoparsec/Internal/Fhthagn.js_o )
[ 6 of 21] Compiling Data.Attoparsec.ByteString.FastSet ( Data/Attoparsec/ByteString/FastSet.hs, dist/build/Data/Attoparsec/ByteString/FastSet.js_o )
[ 7 of 21] Compiling Data.Attoparsec.ByteString.Buffer ( Data/Attoparsec/ByteString/Buffer.hs, dist/build/Data/Attoparsec/ByteString/Buffer.js_o )
[ 8 of 21] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.js_o )
[ 9 of 21] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.js_o )
[10 of 21] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.js_o )
[11 of 21] Compiling Data.Attoparsec.ByteString.Internal ( Data/Attoparsec/ByteString/Internal.hs, dist/build/Data/Attoparsec/ByteString/Internal.js_o )
[12 of 21] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.js_o )
[13 of 21] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.js_o )
[14 of 21] Compiling Data.Attoparsec.Text.Lazy ( Data/Attoparsec/Text/Lazy.hs, dist/build/Data/Attoparsec/Text/Lazy.js_o )
[15 of 21] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.js_o )
[16 of 21] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.js_o )
[17 of 21] Compiling Data.Attoparsec.ByteString.Char8 ( Data/Attoparsec/ByteString/Char8.hs, dist/build/Data/Attoparsec/ByteString/Char8.js_o )
[18 of 21] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.js_o )
[19 of 21] Compiling Data.Attoparsec.ByteString.Lazy ( Data/Attoparsec/ByteString/Lazy.hs, dist/build/Data/Attoparsec/ByteString/Lazy.js_o )
[20 of 21] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.js_o )
[21 of 21] Compiling Data.Attoparsec  ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.js_o )
[ 1 of 21] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.js_p_o )
[ 2 of 21] Compiling Data.Attoparsec.Text.FastSet ( Data/Attoparsec/Text/FastSet.hs, dist/build/Data/Attoparsec/Text/FastSet.js_p_o )
[ 3 of 21] Compiling Data.Attoparsec.Text.Buffer ( Data/Attoparsec/Text/Buffer.hs, dist/build/Data/Attoparsec/Text/Buffer.js_p_o )
[ 4 of 21] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.js_p_o )
[ 5 of 21] Compiling Data.Attoparsec.Internal.Fhthagn ( Data/Attoparsec/Internal/Fhthagn.hs, dist/build/Data/Attoparsec/Internal/Fhthagn.js_p_o )
[ 6 of 21] Compiling Data.Attoparsec.ByteString.FastSet ( Data/Attoparsec/ByteString/FastSet.hs, dist/build/Data/Attoparsec/ByteString/FastSet.js_p_o )
[ 7 of 21] Compiling Data.Attoparsec.ByteString.Buffer ( Data/Attoparsec/ByteString/Buffer.hs, dist/build/Data/Attoparsec/ByteString/Buffer.js_p_o )
[ 8 of 21] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.js_p_o )
[ 9 of 21] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.js_p_o )
[10 of 21] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.js_p_o )
[11 of 21] Compiling Data.Attoparsec.ByteString.Internal ( Data/Attoparsec/ByteString/Internal.hs, dist/build/Data/Attoparsec/ByteString/Internal.js_p_o )
[12 of 21] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.js_p_o )
[13 of 21] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.js_p_o )
[14 of 21] Compiling Data.Attoparsec.Text.Lazy ( Data/Attoparsec/Text/Lazy.hs, dist/build/Data/Attoparsec/Text/Lazy.js_p_o )
[15 of 21] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.js_p_o )
[16 of 21] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.js_p_o )
[17 of 21] Compiling Data.Attoparsec.ByteString.Char8 ( Data/Attoparsec/ByteString/Char8.hs, dist/build/Data/Attoparsec/ByteString/Char8.js_p_o )
[18 of 21] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.js_p_o )
[19 of 21] Compiling Data.Attoparsec.ByteString.Lazy ( Data/Attoparsec/ByteString/Lazy.hs, dist/build/Data/Attoparsec/ByteString/Lazy.js_p_o )
[20 of 21] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.js_p_o )
[21 of 21] Compiling Data.Attoparsec  ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.js_p_o )
Preprocessing library for attoparsec-0.13.1.0..
Running Haddock on library for attoparsec-0.13.1.0..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
Haddock coverage:                             
  89% (  8 /  9) in 'Data.Attoparsec.Zepto'   
  Missing documentation for:                  
    Parser (Data/Attoparsec/Zepto.hs:68)      
  60% (  6 / 10) in 'Data.Attoparsec.Text.FastSet'
  Missing documentation for:                  
    FastSet (Data/Attoparsec/Text/FastSet.hs:40)
    fromList (Data/Attoparsec/Text/FastSet.hs:82)
    set (Data/Attoparsec/Text/FastSet.hs:104) 
    charClass (Data/Attoparsec/Text/FastSet.hs:117)
  36% (  4 / 11) in 'Data.Attoparsec.Text.Buffer'
  Missing documentation for:                  
    Buffer (Data/Attoparsec/Text/Buffer.hs:57)
    unbuffer (Data/Attoparsec/Text/Buffer.hs:74)
    unbufferAt (Data/Attoparsec/Text/Buffer.hs:77)
    length (Data/Attoparsec/Text/Buffer.hs:124)
    pappend (Data/Attoparsec/Text/Buffer.hs:97)
    substring (Data/Attoparsec/Text/Buffer.hs:128)
    dropWord16 (Data/Attoparsec/Text/Buffer.hs:135)
 100% (  2 /  2) in 'Data.Attoparsec.Number'  
  50% (  1 /  2) in 'Data.Attoparsec.Internal.Fhthagn'
  Missing documentation for:                  
    Module header                             
  69% (  9 / 13) in 'Data.Attoparsec.ByteString.FastSet'
  Missing documentation for:                  
    FastSet (Data/Attoparsec/ByteString/FastSet.hs:44)
    fromList (Data/Attoparsec/ByteString/FastSet.hs:62)
    fromSet (Data/Attoparsec/ByteString/FastSet.hs:44)
    charClass (Data/Attoparsec/ByteString/FastSet.hs:111)
  22% (  2 /  9) in 'Data.Attoparsec.ByteString.Buffer'
  Missing documentation for:                  
    Buffer (Data/Attoparsec/ByteString/Buffer.hs:70)
    unbuffer (Data/Attoparsec/ByteString/Buffer.hs:87)
    pappend (Data/Attoparsec/ByteString/Buffer.hs:103)
    length (Data/Attoparsec/ByteString/Buffer.hs:136)
    unsafeIndex (Data/Attoparsec/ByteString/Buffer.hs:140)
    substring (Data/Attoparsec/ByteString/Buffer.hs:145)
    unsafeDrop (Data/Attoparsec/ByteString/Buffer.hs:152)
  60% (  6 / 10) in 'Data.Attoparsec.Internal.Types'
  Missing documentation for:                  
    State (Data/Attoparsec/Internal/Types.hs:118)
    Failure (Data/Attoparsec/Internal/Types.hs:122)
    Success (Data/Attoparsec/Internal/Types.hs:124)
    Pos (Data/Attoparsec/Internal/Types.hs:46)
 100% ( 10 / 10) in 'Data.Attoparsec.Internal'
 100% ( 24 / 24) in 'Data.Attoparsec.Combinator'
  93% ( 39 / 42) in 'Data.Attoparsec.ByteString.Internal'
  Missing documentation for:                  
    Parser (Data/Attoparsec/ByteString/Internal.hs:95)
    Result (Data/Attoparsec/ByteString/Internal.hs:96)
    storable (Data/Attoparsec/ByteString/Internal.hs:138)
  95% ( 39 / 41) in 'Data.Attoparsec.Text.Internal'
  Missing documentation for:                  
    Parser (Data/Attoparsec/Text/Internal.hs:89)
    Result (Data/Attoparsec/Text/Internal.hs:90)
  98% ( 90 / 92) in 'Data.Attoparsec.Text'    
  Missing documentation for:                  
    Parser (Data/Attoparsec/Text/Internal.hs:89)
    Result (Data/Attoparsec/Text/Internal.hs:90)
 100% (  9 /  9) in 'Data.Attoparsec.Text.Lazy'
 100% (  4 /  4) in 'Data.Attoparsec.Types'   
  97% ( 66 / 68) in 'Data.Attoparsec.ByteString'
  Missing documentation for:                  
    Parser (Data/Attoparsec/ByteString/Internal.hs:95)
    Result (Data/Attoparsec/ByteString/Internal.hs:96)
  98% ( 91 / 93) in 'Data.Attoparsec.ByteString.Char8'
  Missing documentation for:                  
    Parser (Data/Attoparsec/ByteString/Internal.hs:95)
    Result (Data/Attoparsec/ByteString/Internal.hs:96)
 100% (  2 /  2) in 'Data.Attoparsec.Char8'   
 100% (  9 /  9) in 'Data.Attoparsec.ByteString.Lazy'
 100% (  2 /  2) in 'Data.Attoparsec.Lazy'    
 100% (  2 /  2) in 'Data.Attoparsec'         
Warning: Data.Attoparsec.ByteString.Char8: could not find link destinations for:
    ~                                         
Documentation created: dist/doc/html/attoparsec/index.html
Installing library in /home/dmitri/.ghcjs/x86_64-linux-0.2.1.9009021-8.0.2/ghcjs/lib/attoparsec-0.13.1.0
Completed    attoparsec-0.13.1.0              
Configuring aeson-1.1.2.0...                  
Preprocessing library for aeson-1.1.2.0..     
Building library for aeson-1.1.2.0..          
[ 1 of 21] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.js_o )
[ 2 of 21] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, dist/build/Data/Aeson/Types/Generic.js_o )
[ 3 of 21] Compiling Data.Aeson.Parser.UnescapePure ( pure/Data/Aeson/Parser/UnescapePure.hs, dist/build/Data/Aeson/Parser/UnescapePure.js_o )
[ 4 of 21] Compiling Data.Aeson.Parser.Unescape ( Data/Aeson/Parser/Unescape.hs, dist/build/Data/Aeson/Parser/Unescape.js_o )
[ 5 of 21] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, dist/build/Data/Aeson/Parser/Internal.js_o )
Linking Template Haskell ()                   
runNodeInteractive                            
Linking Template Haskell (Data.Aeson.Parser.Unescape,Data.Aeson.Parser.UnescapePure,Data.Aeson.Types.Generic,Data.Aeson.Types.Internal,ThRunner1)
Booting GHCJS (this will take a long time) ...

UPD2: Seems like this issue of ghcjs is related: https://github.com/ghcjs/ghcjs/issues/668