commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
530 stars 805 forks source link

A couple packages I maintain were disabled; why? #6836

Closed mitchellwrosen closed 1 year ago

mitchellwrosen commented 1 year ago

Hey! I just noticed termbox-banana and termbox-tea were disabled in this commit:

https://github.com/commercialhaskell/stackage/commit/c2d13e95521c851061a190f2a51e38ed87ff8d9f

but I couldn't tell why from the commit message. I also didn't receive a ping here on GitHub to address some build failure(s). As far as I can tell these packages build on the latest GHC; I'd like to get them re-added to Stackage but I'm not sure what to do from here, besides just removing the < 0 and submitting a PR.

Thanks!

mihaimaruseac commented 1 year ago

I guess the big issue is GHC 9.4.4 compatibility. Here's a summary: First part:

OpenGLRaw (Library and exe bounds failures, haskell-opengl @svenpanne) (not present) depended on by:
- [ ] monomer-1.5.0.0 (==3.3.*). Francisco Vallarino <fjvallarino@gmail.com> @fjvallarino. Used by: library

base-4.17.0.0 ([changelog](http://hackage.haskell.org/package/base-4.17.0.0/changelog)) is out of bounds for:
- [ ] data-functor-logistic-0.0 (>=4.9 && < 4.17). Fumiaki Kinoshita <fumiexcel@gmail.com> @fumieval. Used by: library

ghc-9.4.4 ([changelog](http://hackage.haskell.org/package/ghc-9.4.4/changelog)) is out of bounds for:
- [ ] effectful-plugin-1.0.0.0 (>=8.6 && < 9.3). Andrzej Rybczak <andrzej@rybczak.net> @arybczak. Used by: library

nanovg (Francisco Vallarino <fjvallarino@gmail.com> @fjvallarino, Library and exe bounds failures) (not present) depended on by:
- [ ] monomer-1.5.0.0 (>=0.8.1 && < 1.0). Francisco Vallarino <fjvallarino@gmail.com> @fjvallarino. Used by: library

After this, the build runs, but there are build errors

       [S-7011]                                                                                                                                                                                                      
       While building package appendful-persistent-0.1.0.0 (scroll up to its section to see the                                                                                                                      
       error) using:                                                                                                                                                                                                 
       /var/stackage/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_SvXsv1f__3.8.1.0_ghc-9.4.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0 build lib:appendful-persistent test
:appendful-persistent-test --ghc-options ""                                                                                                                                                                          
       Process exited with code: ExitFailure 1                                                                                                                                                                       
       Logs have been written                                                                                                                                                                                        
       to: /var/stackage/work/unpack-dir/.stack-work/logs/appendful-persistent-0.1.0.0.log                                                                                                                           

       Configuring appendful-persistent-0.1.0.0...                                                                                                                                                                   
       Preprocessing library for appendful-persistent-0.1.0.0..                                                                                                                                                      
       Building library for appendful-persistent-0.1.0.0..                                                                                                                                                           
       [1 of 2] Compiling Data.Appendful.Persistent                                                                                                                                                                  

       /var/stackage/work/unpack-dir/unpacked/appendful-persistent-0.1.0.0-dda7ff6b82d73666dc01f4d906c1a83c61bec771fffbe26f2a227efc7adde674/src/Data/Appendful/Persistent.hs:101:7: error:                           
           • Could not deduce (SafeToInsert clientRecord)                                                                                                                                                            
               arising from a use of ‘insert_’                                                                                                                                                                       
             from the context: (PersistEntity clientRecord, PersistField sid,                                                                                                                                        
                                PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m)                                                                                                                           
               bound by the type signature for:                                                                                                                                                                      
                          clientSyncProcessor :: forall clientRecord sid (m :: * -> *) a. 
...

The rest seems resolved now, so I'll unblock them. Sorry for the lack of communication, it's likely a tooling issue.