Skip to content

Comments

haskellPackages: update stackage and hackage#194600

Merged
cdepillabout merged 37 commits intomasterfrom
haskell-updates
Oct 15, 2022
Merged

haskellPackages: update stackage and hackage#194600
cdepillabout merged 37 commits intomasterfrom
haskell-updates

Conversation

@cdepillabout
Copy link
Member

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 #193927. Come to #haskell:nixos.org if you have any questions.

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
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 5, 2022
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Oct 5, 2022
@maralorn
Copy link
Member

maralorn commented Oct 5, 2022

fyi, I encountered a bug while builiding ghc-check for 9.4 (on route to ghcide) and have reported it upstream.
I think it’s an upstream bug, but if any of you know if this could be our fault, that would be good to know.
https://gitlab.haskell.org/ghc/ghc/-/issues/22260

maralorn and others added 7 commits October 6, 2022 00:52
It is possible to get it to work again, but a bit annoying, so probably
not worth it. PRs fixing this again (if anyone needs it) will be
accepted.
Deprecate haskell.lib{,.compose}.generateOptparseApplicativeCompletion*
in favor of the newly added
haskell.packages.*.generateOptparseApplicativeCompletions (plural!)
which takes into account whether we are cross-compiling or not. If we
are, generating completions is disabled, since we can't execute software
built for a different platform.

The move is necessary, so we can receive the /same/ stdenv as the
package we are overriding in order to accurately check whether we can
execute produced binaries.

Resolves #174040.
Resolves #49648.
This function was deprecated when it was first added to
haskell.lib.compose, so we can probably safely drop it.
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation labels Oct 6, 2022
@cdepillabout
Copy link
Member Author

cdepillabout commented Oct 8, 2022

haskell-updates build report from hydra

evaluation 1783181 of nixpkgs commit 6d4c324 as of 2022-10-08 12:28 UTC

🟡 Potential issues (and possibly evaluation errors)

  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Success ✔️
aarch64-linux 📱 25 37 6637
x86_64-darwin 🍎 59 24 6 6545
x86_64-linux 🐧 4 8 6 6716

Maintained packages with failed dependency

Unmaintained packages with build failure

76 job(s)

Unmaintained packages with failed dependency

85 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

amazonka-core ⤴️ 185
gogol-core ⤴️ 184
haskell98 ⤴️ 153
enumerator ⤴️ 56
util ⤴️ 49
derive ⤴️ 48
amazonka ⤴️ 43
accelerate ⤴️ 42
parseargs ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
data-lens ⤴️ 33
rank1dynamic ⤴️ 33
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
iteratee ⤴️ 29
jmacro ⤴️ 29
mmsyn3 ⤴️ 28
autodocodec-yaml ⤴️ 27
crypto-numbers ⤴️ 25
either-unwrap ⤴️ 25
sydtest ⤴️ 24
crypto-pubkey ⤴️ 22
haskelldb ⤴️ 22
wxdirect ⤴️ 22
alg ⤴️ 21
amazonka-s3 ⤴️ 21
mmsyn2 ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
wx ⤴️ 19
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
ukrainian-phonetics-basic ⤴️ 18
HGamer3D-Data ⤴️ 17
certificate ⤴️ 17
dbus-client ⤴️ 17
gconf ⤴️ 17
gtk-serialized-event ⤴️ 17
cuda ⤴️ 16
happstack-jmacro ⤴️ 16
manatee-core ⤴️ 16
monads-fd ⤴️ 16
tls-extra ⤴️ 16
ADPfusion ⤴️ 15

⤴️: 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

@sternenseemann
Copy link
Member

cabal2nix ghc942 failure is still haskell-foundation/foundation#571

@cdepillabout
Copy link
Member Author

cdepillabout commented Oct 8, 2022

@lf- @9999years @ttuegel
It looks like cabal2nix is broken on aarch64 with ghc942 because foundation isn't building:

https://hydra.nixos.org/build/193180160

Any interest in either looking into this, or reporting upstream?

edit: Oh whoops, just saw @sternenseemann's comment.

@sternenseemann I guess I'll just go ahead and disable cabal2nix on ghc942 on aarch64-linux in release-haskell.nix for now.

@lf-
Copy link
Member

lf- commented Oct 9, 2022

failures:

Word8
         ✓ Integral (100 tests)
         ✓ Property (400 tests)
         ✓ Additive (300 tests)
         ✓ Multiplicative (400 tests)
           ✗ (x `div` y) * y + (x `mod` y) == x failed after 7 tests:
             use param: --seed 12563177286187018093
parameter 1 : 145
parameter 2 : 137
Property `a == b' failed where:
    a = 145 :: Word8
        ^^^^ ^^^^^^^
    b = 26 :: Word8
        ^^^^ ^^^^^^

         ✗ Divisible failed after 1 test
           use param: --seed 12563177286187018093

         ✓ Precedence (800 tests)
      Word16
         ✓ Integral (100 tests)
         ✓ Property (400 tests)
         ✓ Additive (300 tests)
         ✓ Multiplicative (400 tests)
           ✗ (x `div` y) * y + (x `mod` y) == x failed after 32 tests:
             use param: --seed 12563177286187018093
parameter 1 : 50577
parameter 2 : 42533
Property `a == b' failed where:
    a = 50577 :: Word16
        ^^  ^          
    b = 27574 :: Word16
        ^^  ^          

         ✗ Divisible failed after 1 test
           use param: --seed 12563177286187018093

         ✓ Precedence (800 tests)

I have a sneaking suspicion that this is an upstream bug in some way but I'm too sleepy right now to stare at arithmetic to figure out what went wrong.

@9999years
Copy link
Contributor

Upstream bug report: GHC 9.4.2 regresses being able to do math on aarch64

@ofborg ofborg bot added 2.status: merge conflict This PR has merge conflicts with the target branch 8.has: clean-up This PR removes packages or removes other cruft and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Oct 15, 2022
@cdepillabout cdepillabout merged commit 9c7c300 into master Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants