hinotify icon indicating copy to clipboard operation
hinotify copied to clipboard

Fails on GHC 9.10.1

Open stephen-smith opened this issue 1 year ago • 1 comments

$ ghcup set ghc 9.10.1
[ Info  ] GHC 9.10.1 successfully set as default version
$ echo System.INotify.initINotify | cabal repl --build-depends hinotify
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
In order, the following will be built (use -v for more details):
 - fake-package-0 (interactive) (lib) (first run)
Configuring library for fake-package-0...
Warning: No exposed modules
GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /tmp/cabal-repl.-6128/setcwd.ghci
ghci> *** Exception: fdType: unsupported operation (unknown file type)
ghci> Leaving GHCi.
$ ghcup set ghc 9.6.6
[ Info  ] GHC 9.6.6 successfully set as default version
$ echo System.INotify.initINotify | cabal repl --build-depends hinotify
Resolving dependencies...
Build profile: -w ghc-9.6.6 -O1
In order, the following will be built (use -v for more details):
 - fake-package-0 (interactive) (lib) (first run)
Configuring library for fake-package-0...
Warning: No exposed modules
GHCi, version 9.6.6: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /tmp/cabal-repl.-6275/setcwd.ghci
ghci> <inotify fd=15>
ghci> Leaving GHCi.

stephen-smith avatar Jul 30 '24 16:07 stephen-smith

I tested 9.8.2 and it worked there, too.

stephen-smith avatar Jul 30 '24 17:07 stephen-smith

Testsuite also failing in Stackage Nightly now:

       Error: [S-1995]                                                                                                              
       Test suite failure for package hinotify-0.4.1                                                                                
           test001:  exited with: ExitFailure 1                                                                                     
           test002:  exited with: ExitFailure 1                                                                                     
           test003:  exited with: ExitFailure 1                                                                                     
           test004:  exited with: ExitFailure 1                                                                                     
           test005:  exited with: ExitFailure 1                   
           test006:  exited with: ExitFailure 1                                                                                     
       Full log available at /home/curators/work/unpack-dir/.stack-work/logs/hinotify-0.4.1-test.log                                
                                                                  
                                                                  
           test001: fdType: unsupported operation (unknown file type)
           HasCallStack backtrace:    
             collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:92:13 in ghc-internal:GHC.Internal.Ex
ception                                                                                                                             
             toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.I
O                                                                                                                                   
             throwIO, called at libraries/ghc-internal/src/GHC/Internal/Control/Exception/Base.hs:195:43 in ghc-internal:GHC.Interna
l.Control.Exception.Base                                          
                                                                  
           
           test002: fdType: unsupported operation (unknown file type)
           HasCallStack backtrace:            
             collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:92:13 in ghc-internal:GHC.Internal.Ex
ception
             toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.I
O
             throwIO, called at libraries/ghc-internal/src/GHC/Internal/Control/Exception/Base.hs:195:43 in ghc-internal:GHC.Interna
l.Control.Exception.Base
            
            
           test003: fdType: unsupported operation (unknown file type)
           HasCallStack backtrace:
             collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:92:13 in ghc-internal:GHC.Internal.Ex
ception
             toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.I
O
             throwIO, called at libraries/ghc-internal/src/GHC/Internal/Control/Exception/Base.hs:195:43 in ghc-internal:GHC.Interna
l.Control.Exception.Base
:

juhp avatar Dec 11 '24 11:12 juhp