Skip to content

ansi-wl-pprint build failing #1850

Closed
Closed
@dhess

Description

@dhess

Hi,

Recently, ansi-wl-pprint started failing in our builds:

error: builder for '/nix/store/mqnf8ckk3kb3gznf87kdm6242d2hqbmm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9.drv' failed with exit code 1;
--
  | last 10 log lines:
  | > setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file ansi-wl-pprint-0.6.9/src-exe/Example.hs
  | > patching sources
  | > updateAutotoolsGnuConfigScriptsPhase
  | > configuring
  | > Configure flags:
  | > --prefix=/nix/store/lfwljwyqqxykwc05zln9vchczbgvl7vr-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9 lib:ansi-wl-pprint --package-db=clear --package-db=/nix/store/0frk6mwwj64j2mbbmpq4fk6kmxc8qipm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-config/lib/ghc-9.0.2/package.conf.d --flags=-example --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/x61azrig5axjcmz7ryilsf7a90y76j0n-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9-data/share/ghc-9.0.2 --ghc-option=-fPIC --gcc-option=-fPIC
  | > Configuring library for ansi-wl-pprint-0.6.9..
  | > Error: Setup: Encountered missing or private dependencies:
  | > ansi-terminal >=0.9.1 && <0.10
  | >
  | For full logs, run 'nix log /nix/store/mqnf8ckk3kb3gznf87kdm6242d2hqbmm-ansi-wl-pprint-lib-ansi-wl-pprint-0.6.9.drv'.
  | error: 1 dependencies of derivation '/nix/store/k7pj9pf90f4w735f78kvgw0ahsbimj7b-optparse-applicative-lib-optparse-applicative-0.16.1.0-config.drv' failed to build
  | error: 1 dependencies of derivation '/nix/store/lvch274zxyv2iyr8pfhhhicrg702d305-optparse-applicative-lib-optparse-applicative-0.16.1.0.drv' failed to build

The bounds on the ansi-terminal dependency that are causing the problem are from the original Hackage upload of ansi-wl-pprint, but the latest revision of ansi-wl-pprint has updated bounds, so I'm not sure why haskell.nix is picking up the original package.

Nothing has changed on our end. I've tried ghc925 and now ghc926.

Any ideas?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions