fortran-src icon indicating copy to clipboard operation
fortran-src copied to clipboard

fortran-src-0.16.3 testsuite failed on stackage nightly

Open juhp opened this issue 1 year ago • 2 comments

This is perhaps/likely be ignored since latest happy 2.1 is marked deprecated in Hackage. This is is really just an FYI.

           Failures:                                                                                                                
                                                                                                                                    
             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14:                
             1) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse assign statements               
                  uncaught exception: ErrorCall                                                                                     
                  Encountered a token that was not declared to happy                                                                
                  CallStack (from HasCallStack):                                                                                    
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95                                         
                                                                                                                                    
             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse assign stateme
nts/" --seed 386902743                                                                                                              
                                                                                                                                    
             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14:                
             2) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse pause statements                
                  uncaught exception: ErrorCall                                                                                     
                  Encountered a token that was not declared to happy                                                                
                  CallStack (from HasCallStack):                                                                                    
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95                                         
                                                                                                                                    
             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse pause statemen
ts/" --seed 386902743                                                                                                               
                                                                                                                                    
             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14: 
             3) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse pause statements with expression
                  uncaught exception: ErrorCall
                  Encountered a token that was not declared to happy
                  CallStack (from HasCallStack):
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95
            
             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse pause statemen
ts with expression/" --seed 386902743
            
             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14: 
             4) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Goto, doesn't parse label assignment
                  uncaught exception: ErrorCall
                  Encountered a token that was not declared to happy
                  CallStack (from HasCallStack):
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95
            
             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Goto/doesn't parse label assignment/" 
--seed 386902743
            
           Randomized with seed 386902743
            
           Finished in 0.6929 seconds
           756 examples, 4 failures, 6 pending

juhp avatar Oct 21 '24 06:10 juhp

Actually seems to fail even with happy < 2.1...

juhp avatar Oct 21 '24 07:10 juhp

I could not reproduce this issue while building master with stack and happy-2.0.2. So perhaps this is an issue with happy-2.1. I opened https://github.com/haskell/happy/issues/324 to track.

sgraf812 avatar Oct 21 '24 13:10 sgraf812

Can I close this, or is there anything left I need to do @juhp ?

dorchard avatar Nov 10 '25 10:11 dorchard

Thanks @sgraf812 !

juhp avatar Nov 10 '25 13:11 juhp