jonascarpay / apecs

a fast, extensible, type driven Haskell ECS framework for games
392 stars 43 forks source link

fails to build with ghc-9.4/Cabal-3.8 for Stackage Nightly #95

Closed juhp closed 1 year ago

juhp commented 1 year ago
--  While building package apecs-physics-0.4.5 (scroll up to its section to see the error) using:
      /var/stackage/.stack/programs/x86_64-linux/ghc-tinfo6-9.4.3/bin/ghc-9.4.3 --make -odir /var/stackage/work/unpack-dir/unpacked/
apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d100b410f347f4beb3e281e35462/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.
1.0/setup -hidir /var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d100b410f347f4beb3e2
81e35462/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/setup -i -i. -clear-package-db -global-package-db -package-db=/var/stack
age/.stack/snapshots/x86_64-linux-tinfo6/fc84417690be23f4858027e8a7aaa300225a04393aaeb93a40c10aa8df38e07a/9.4.3/pkgdb -package-db=/v
ar/stackage/work/unpack-dir/.stack-work/install/x86_64-linux-tinfo6/fc84417690be23f4858027e8a7aaa300225a04393aaeb93a40c10aa8df38e07a
/9.4.3/pkgdb -hide-all-packages -package-id=Cabal-3.8.1.0 -package-id=base-4.17.0.0 -optP-include -optP/var/stackage/work/unpack-dir
/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d100b410f347f4beb3e281e35462/.stack-work/dist/x86_64-linux-tinfo6/
Cabal-3.8.1.0/setup/setup_macros.h /var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d1
00b410f347f4beb3e281e35462/Setup.hs /var/stackage/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -
o /var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d100b410f347f4beb3e281e35462/.stack
-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/setup/setup -threaded
    Process exited with code: ExitFailure 1                                                                                         
    Logs have been written to: /var/stackage/work/unpack-dir/.stack-work/logs/apecs-physics-0.4.5.log

[1 of 3] Compiling Main             ( /var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a923931
1d100b410f347f4beb3e281e35462/Setup.hs, /var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239
311d100b410f347f4beb3e281e35462/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.8.1.0/setup/Main.o )

/var/stackage/work/unpack-dir/unpacked/apecs-physics-0.4.5-73728b2ca8d874a4f142c957dd81a9239311d100b410f347f4beb3e281e35462/Setup.hs
:14:17: error:
    Variable not in scope:                                        
      readGenericPackageDescription                               
        :: Verbosity -> String -> IO GenericPackageDescription                                                                      
    Suggested fix:                                                
      Perhaps use one of these:                                   
        data constructor ‘GenericPackageDescription’ (imported from Distribution.PackageDescription),
        ‘emptyGenericPackageDescription’ (imported from Distribution.PackageDescription),
        ‘parseGenericPackageDescription’ (imported from Distribution.PackageDescription.Parsec)
   |                                                              
14 |     pkgDescr <- readGenericPackageDescription verbose "apecs-physics.cabal"                                                    
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^