Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskellPackages: update stackage and hackage #168049

Merged
merged 39 commits into from
Apr 21, 2022
Merged

Conversation

sternenseemann
Copy link
Member

@sternenseemann sternenseemann commented Apr 9, 2022

This Merge

This PR is the regular merge of the haskell-updates branch into master.

This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at cdepillabout/nix-haskell-updates-status.

We roughly aim to merge these haskell-updates PRs at least once every two weeks. See the @NixOS/haskell team calendar for who is currently in charge of this branch.

haskellPackages Workflow Summary

Our workflow is currently described in pkgs/development/haskell-modules/HACKING.md.

The short version is this:

  • We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
  • The community fixes builds of Haskell packages on that branch.
  • We aim at at least one merge of haskell-updates into master every two weeks.
  • We only do the merge if the mergeable job is succeeding on hydra.
  • If a maintained package is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)

This is the follow-up to #167612. Come to #haskell:nixos.org if you have any questions.

cdepillabout and others added 5 commits April 9, 2022 11:14
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
@sternenseemann
Copy link
Member Author

sternenseemann commented Apr 10, 2022

haskell-updates build report from hydra

evaluation 1754511 of nixpkgs commit c77384c as of 2022-04-10 15:34 UTC

🟡 Potential issues

  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Success ✔️
aarch64-linux 📱 31 47 13 6197
x86_64-darwin 🍎 66 49 4 6111
x86_64-linux 🐧 11 25 5 6281

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

86 job(s)

Unmaintained packages with failed dependency

72 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

amazonka-core ⤴️ 186
gogol-core ⤴️ 184
haskell98 ⤴️ 153
enumerator ⤴️ 56
derive ⤴️ 48
amazonka ⤴️ 44
accelerate ⤴️ 42
parseargs ⤴️ 42
syb-with-class ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
data-lens ⤴️ 33
rank1dynamic ⤴️ 33
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
autodocodec ⤴️ 29
ip ⤴️ 29
iteratee ⤴️ 29
jmacro ⤴️ 29
text-format ⤴️ 28
mmsyn3 ⤴️ 27
crypto-numbers ⤴️ 26
validity-aeson ⤴️ 26
either-unwrap ⤴️ 25
autodocodec-schema ⤴️ 24
web-routes-th ⤴️ 24
autodocodec-yaml ⤴️ 23
crypto-pubkey ⤴️ 23
ixset-typed ⤴️ 23
haskelldb ⤴️ 22
wxdirect ⤴️ 22
amazonka-s3 ⤴️ 21
mmsyn2 ⤴️ 21
subG ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
sydtest ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
harp ⤴️ 19
hsx2hs ⤴️ 19
ixset ⤴️ 19
wx ⤴️ 19
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
ukrainian-phonetics-basic ⤴️ 18

⤴️: The number of packages that depend (directly or indirectly) on this package (if any). If two numbers are shown the first (lower) number considers only packages which currently have enabled hydra jobs, i.e. are not marked broken. The second (higher) number considers all packages.

Report generated with maintainers/scripts/haskell/hydra-report.hs

roberth and others added 15 commits April 11, 2022 00:38
It needs git during tests now.
By telling Hydra where to look explicitly, it can be instrumented
to build the boot ghcjs which is only about 300MB. This saves at
least some time compiling for users and will also provide some
eval CI automatically.
It appears that integer-gmp is already set to null for all compilers,
so there is no need to explicitly set it to null in the integer-simple
and native-bignum package sets.
haskell.compiler.ghcjs: fix build with aeson 2.0
…-overrides

haskell: don't lose packageOverrides for native-bignum and integer-simple
See #164686. As Stackage LTS still restricts the gi-gtk packages to GTK 3
compatible releases, looking into this doesn't make too much sense yet.
(Also nothing actually depends on it at the moment.)
maralorn and others added 7 commits April 14, 2022 13:00
This upgrade fixes a genuine bug caught by the test suite (which wasn't
flaky as it turns out), so we'll upgrade manually.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh

Note: some failing packages are not marked as broken to monitor multiple
weird failures involving:

> Test.QuickCheck.resize: negative size

Could be a bug involving hspec and QuickCheck in some way.
github-actions bot and others added 3 commits April 18, 2022 00:13
On non-arm platforms there's no reason to use the minimal GHC for musl
bootstrapping, as it doesn't hit the size limit. Additionally this serves
as a wonky workaround for ghc#21402 [1], as the minimal GHC 8.10.2
binary currently contains `xxx` in its `outPath`.

[1]: https://gitlab.haskell.org/ghc/ghc/-/issues/21402
@cdepillabout
Copy link
Member

Here's an up-to-date build report.

haskell-updates build report from hydra

evaluation 1756575 of nixpkgs commit 4716538 as of 2022-04-19 12:27 UTC

🟡 Potential issues

  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Unfinished ⏳ Success ✔️
aarch64-linux 📱 28 41 4 6215
x86_64-darwin 🍎 62 39 4 6127
x86_64-linux 🐧 10 19 4 2 6287

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

80 job(s)

Unmaintained packages with failed dependency

62 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

amazonka-core ⤴️ 186
gogol-core ⤴️ 184
haskell98 ⤴️ 153
enumerator ⤴️ 56
derive ⤴️ 48
amazonka ⤴️ 44
accelerate ⤴️ 42
parseargs ⤴️ 42
syb-with-class ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
data-lens ⤴️ 33
rank1dynamic ⤴️ 33
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
autodocodec ⤴️ 29
ip ⤴️ 29
iteratee ⤴️ 29
jmacro ⤴️ 29
text-format ⤴️ 28
mmsyn3 ⤴️ 27
crypto-numbers ⤴️ 26
validity-aeson ⤴️ 26
either-unwrap ⤴️ 25
autodocodec-schema ⤴️ 24
web-routes-th ⤴️ 24
autodocodec-yaml ⤴️ 23
crypto-pubkey ⤴️ 23
ixset-typed ⤴️ 23
haskelldb ⤴️ 22
wxdirect ⤴️ 22
amazonka-s3 ⤴️ 21
mmsyn2 ⤴️ 21
subG ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
sydtest ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
harp ⤴️ 19
hsx2hs ⤴️ 19
ixset ⤴️ 19
wx ⤴️ 19
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
ukrainian-phonetics-basic ⤴️ 18

⤴️: The number of packages that depend (directly or indirectly) on this package (if any). If two numbers are shown the first (lower) number considers only packages which currently have enabled hydra jobs, i.e. are not marked broken. The second (higher) number considers all packages.

Report generated with maintainers/scripts/haskell/hydra-report.hs

@cdepillabout
Copy link
Member

cdepillabout commented Apr 19, 2022

Any objections to marking the following as broken for now?

  • jl (looks like it either needs to be updated for aeson-2, or the nix code updated to make sure it is built with aeson-1.5) @fgaz
  • hasura graphql stuff @Lassulus
  • hedgewars (looks like the c++ part of this is failing to build, not the Haskell part) @fpletz @kragniz

It looks like libpulseaudio failing to build on darwin is causing haskellPackages.essence-of-live-coding-pulse and haskellPackages.pulse-simple to fail to build. I guess it doesn't make sense to mark them as broken, since they will probably start working again as soon as libpulseaudio is fixed on darwin.

@cdepillabout
Copy link
Member

I got spago working again in 56c72fc by just dropping back to aeson-1.5.6.0 for now.

@cdepillabout cdepillabout mentioned this pull request Apr 20, 2022
13 tasks
@sternenseemann
Copy link
Member Author

@cdepillabout jl and hasura-graphql-engine can be marked as broken, as they have been known to be for multiple weeks now.

hedgewars should be kept as is in my opinion, since that was caused by a staging regression.

github-actions bot and others added 5 commits April 21, 2022 00:13
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
jl appears to need support added for aeson-2.0, or either building it
will aeson-1.5.
`graphql-engine` and `graphql-parser` appear to need to be updated for
aeson-2.0.
@cdepillabout
Copy link
Member

@sternenseemann Good idea. I'll mark jl and the graphql stuff broken, but leave hedgewars for now.


@fgaz I've marked jl broken in 3e6d4c0.


@Lassulus I've marked the remaining hasura graphql stuff as broken in ddbc061.

@neilmayhew
Copy link
Member

I've created an upstream PR for jl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants