NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.64k stars 13.8k forks source link

Build failure: taskell-1.11.4 #250372

Open ionutnechita opened 1 year ago

ionutnechita commented 1 year ago

building the system configuration... error: builder for '/nix/store/xqlyfzhbs08w230h3b4nm4n4q40mzwaq-brick-0.70.1.drv' failed with exit code 1; last 21 log lines:

setupCompilerEnvironmentPhase Build with /nix/store/dbimp2biq6d8lmnwlqc2612qni37k2z0-ghc-9.4.6. unpacking sources unpacking source archive /nix/store/r88rfkizg9kl9z40vaxir0j1x5z191z0-brick-0.70.1.tar.gz source root is brick-0.70.1 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file brick-0.70.1/tests/Main.hs patching sources compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.dvOXHzNDeR/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 2] Compiling Main ( Setup.hs, /build/tmp.dvOXHzNDeR/Main.o ) [2 of 2] Linking Setup updateAutotoolsGnuConfigScriptsPhase configuring configureFlags: --verbose --prefix=/nix/store/if9xx7r7rfp8vjihdhy88icv5vwimxzy-brick-0.70.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/73k4fg3jjz2p3d6lj830k27q85wm1yfl-brick-0.70.1-doc/share/doc/brick-0.70.1 --with-gcc=gcc --package-db=/build/tmp.dvOXHzNDeR/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --ghc-options=-haddock --extra-lib-dirs=/nix/store/1ql93amj3rmq5yg7qry7ky6gwpbvdgxp-ncurses-6.4/lib --extra-lib-dirs=/nix/store/bg6dzgvw2wpg61v8a7f0x6fkm31k26hh-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/4mkb67p6x2d5raj6m7xnpjq3vgj4zpwd-gmp-with-cxx-6.2.1/lib Using Parsec parser Configuring brick-0.70.1... CallStack (from HasCallStack): withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils Error: Setup: Encountered missing or private dependencies: base >=4.9.0.0 && <4.17.0.0

For full logs, run 'nix log /nix/store/xqlyfzhbs08w230h3b4nm4n4q40mzwaq-brick-0.70.1.drv'. error: 1 dependencies of derivation '/nix/store/g4ck7s388nzl4yr4ig2bhic039ka218s-taskell-1.11.4.drv' failed to build error: 1 dependencies of derivation '/nix/store/jwb8n9x8mwbr94d0xv181hya3fmj915f-man-paths.drv' failed to build error: 1 dependencies of derivation '/nix/store/hzan1nmiajgg3pa4mz6g1i9kc260wgal-system-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/fgq6qnaw94zp2bgs9m8jnwzl9kyvp4fy-taskell-1.11.4_fish-completions.drv' failed to build error: 1 dependencies of derivation '/nix/store/cs56adpl4d2vmzs7amahv57gkz9rbr9i-nixos-system-23.11.19700101.dirty.drv' failed to build

cdepillabout commented 11 months ago

It looks like the underlying issue here is that taskell doesn't work with new versions of brick https://github.com/smallhadroncollider/taskell/issues/125, and old versions of brick no longer compile.

We'd be happy to accept a PR fixing either of these problems.

t4ccer commented 3 months ago

taskell is no longer maintained so the fix is unlikely