unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Saku Laesvuori via Guix-patches via <guix-patches@gnu.org>
To: 69154@debbugs.gnu.org, 67921@debbugs.gnu.org
Cc: Saku Laesvuori <saku@laesvuori.fi>, Lars-Dominik Braun <lars@6xq.net>
Subject: [bug#69154] [WIP PATCH v2 00/23] Update GHC to 9.6.4
Date: Thu, 15 Feb 2024 10:49:41 +0200	[thread overview]
Message-ID: <cover.1707827100.git.saku@laesvuori.fi> (raw)
Message-ID: <20240215084941.WgBkPvjVp4FCUccNp0fpIwUXrlewT6NOvJrWd6mX02c@z> (raw)

This series

- updates ghc-next to 9.4.8
- adds bootstrap dependencies for Hadrian (ghc-9.6 build system)
- adds ghc-9.6
- changes the default ghc to ghc-9.6.

The compiler seems to work (I have built some haskell packages with it
after running `guix refresh` and disabling it's tests) but some tests
fail with weird errors like the following:

```
ld: cannot find \: No such file or directory
ld: cannot find \: No such file or directory
ld: cannot find spaces/testsuite/tests/backpack/cabal/T16219/T16219.run/dist/build/library-a-impl: No such file or directory
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
make: *** [Makefile:12: T16219] Error 1
```

Something seems to be failing due to the tests being run in
'/tmp/guix-build-ghc-9.6.4.drv-0/ghctest-lgjqumae/test   spaces/testsuite/...'
but I can't figure out what it is. I've tried tracing the tests and it
seems that ld is called with arguments '/tmp/.../test' '\' '\' 'spaces/...'
which obviously can't work, but I could not pin down where the escaping
fails. This happens with just ~40 out of almost 10 000 tests which makes
it even more confusing.

Any ideas what could be causing the failures or should I just try
disabling those tests?

I also noticed that hidden packages shadow other packages, for example
the hidden base package from any haskell package can shadow the exposed
version from ghc. I guess I'll try implementing a fix for
https://issues.guix.gnu.org/66347 by adding a new profile hook that
creates a package environment[1] for ghc.

[2]: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/packages.html#package-environments

Saku Laesvuori (23):
  gnu: ghc-next: Update to version 9.4.8
  gnu: Add ghc-js-flot-bootstrap-for-9.6
  gnu: Add ghc-clock-bootstrap-for-9.6
  gnu: Add ghc-extra-bootstrap-for-9.6
  gnu: Add ghc-hashable-bootstrap-for-9.6
  gnu: Add ghc-splitmix-bootstrap-for-9.6
  gnu: Add ghc-random-bootstrap-for-9.6
  gnu: Add ghc-primitive-bootstrap-for-9.6
  gnu: Add ghc-js-jquery-bootstrap-for-9.6
  gnu: Add ghc-utf8-string-bootstrap-for-9.6
  gnu: Add ghc-heaps-bootstrap-for-9.6
  gnu: Add ghc-js-dgtable-bootstrap-for-9.6
  gnu: Add ghc-nats-bootstrap-for-9.6
  gnu: Add ghc-tagged-bootstrap-for-9.6
  gnu: Add ghc-semigroups-bootstrap-for-9.6
  gnu: Add ghc-base16-bytestring-bootstrap-for-9.6
  gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6
  gnu: Add ghc-unordered-containers-bootstrap-for-9.6
  gnu: Add ghc-filepattern-bootstrap-for-9.6
  gnu: Add ghc-shake-bootstrap-for-9.6
  gnu: Add hadrian-for-ghc-9.6
  gnu: Add ghc-9.6
  gnu: ghc: Update to version 9.6.4

 gnu/packages/haskell.scm                      | 686 +++++++++++++++++-
 .../patches/ghc-9.4-testsuite-fixes.patch     | 119 +++
 2 files changed, 792 insertions(+), 13 deletions(-)
 create mode 100644 gnu/packages/patches/ghc-9.4-testsuite-fixes.patch


base-commit: f2102cb5b9239be2ed2023b908b726af542e0124
-- 
2.41.0





         reply	other threads:[~2024-02-15 12:26 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  7:10 [bug#67921] [PATCH haskell-team 1/3] gnu: ghc-next: Update to version 9.4.8 Saku Laesvuori via Guix-patches via
2023-12-20  7:13 ` [bug#67921] [PATCH haskell-team 2/3] gnu: ghc: Use version 9.4.8 as the default Saku Laesvuori via Guix-patches via
2023-12-22 10:07   ` Lars-Dominik Braun
2023-12-22 10:33     ` Saku Laesvuori via Guix-patches via
2023-12-22 11:03       ` Lars-Dominik Braun
2023-12-20  7:13 ` [bug#67921] [PATCH haskell-team 3/3] guix: haskell-build-system: Hide dependecies from ghc's package db Saku Laesvuori via Guix-patches via
2024-01-06 18:42   ` Lars-Dominik Braun
2024-01-08  7:09     ` Saku Laesvuori via Guix-patches via
2024-02-15  8:49 ` Saku Laesvuori via Guix-patches via [this message]
2024-02-15  8:49   ` [bug#69154] [WIP PATCH v2 00/23] Update GHC to 9.6.4 Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 01/23] gnu: ghc-next: Update to version 9.4.8 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69144] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 02/23] gnu: Add ghc-js-flot-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69143] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 03/23] gnu: Add ghc-clock-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69142] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 04/23] gnu: Add ghc-extra-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69151] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 05/23] gnu: Add ghc-hashable-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69158] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 06/23] gnu: Add ghc-splitmix-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69165] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 07/23] gnu: Add ghc-random-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69156] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 08/23] gnu: Add ghc-primitive-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69161] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 09/23] gnu: Add ghc-js-jquery-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69153] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 10/23] gnu: Add ghc-utf8-string-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69157] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 11/23] gnu: Add ghc-heaps-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69152] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 12/23] gnu: Add ghc-js-dgtable-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69146] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 13/23] gnu: Add ghc-nats-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69147] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 14/23] gnu: Add ghc-tagged-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69145] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 15/23] gnu: Add ghc-semigroups-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69148] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 16/23] gnu: Add ghc-base16-bytestring-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69155] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 17/23] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69160] " Saku Laesvuori via Guix-patches via
2024-02-15  8:49   ` [bug#67921] [PATCH v2 18/23] gnu: Add ghc-unordered-containers-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:49     ` [bug#69149] " Saku Laesvuori via Guix-patches via
2024-02-15  8:50   ` [bug#67921] [PATCH v2 19/23] gnu: Add ghc-filepattern-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:50     ` [bug#69162] " Saku Laesvuori via Guix-patches via
2024-02-15  8:50   ` [bug#67921] [PATCH v2 20/23] gnu: Add ghc-shake-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:50     ` [bug#69163] " Saku Laesvuori via Guix-patches via
2024-02-15  8:50   ` [bug#67921] [PATCH v2 21/23] gnu: Add hadrian-for-ghc-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:50     ` [bug#69164] " Saku Laesvuori via Guix-patches via
2024-02-15  8:50   ` [bug#67921] [PATCH v2 22/23] gnu: Add ghc-9.6 Saku Laesvuori via Guix-patches via
2024-02-15  8:50     ` [bug#69159] " Saku Laesvuori via Guix-patches via
2024-02-15  8:50   ` [bug#67921] [PATCH v2 23/23] gnu: ghc: Update to version 9.6.4 Saku Laesvuori via Guix-patches via
2024-02-15  8:50     ` [bug#69150] " Saku Laesvuori via Guix-patches via
2024-02-15 16:41   ` [bug#69154] Closing accidental issues Saku Laesvuori via Guix-patches via
2024-02-15 17:05     ` Hilton Chain via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 00/23] Update GHC to 9.6.5 Saku Laesvuori via Guix-patches via
2024-06-14 13:55     ` Lars-Dominik Braun
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 01/23] gnu: ghc-next: Update to version 9.4.8 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 02/23] gnu: Add ghc-js-flot-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 03/23] gnu: Add ghc-clock-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 04/23] gnu: Add ghc-extra-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 05/23] gnu: Add ghc-hashable-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 06/23] gnu: Add ghc-splitmix-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 07/23] gnu: Add ghc-random-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 08/23] gnu: Add ghc-primitive-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 09/23] gnu: Add ghc-js-jquery-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 10/23] gnu: Add ghc-utf8-string-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 11/23] gnu: Add ghc-heaps-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 12/23] gnu: Add ghc-js-dgtable-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 13/23] gnu: Add ghc-nats-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 14/23] gnu: Add ghc-tagged-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 15/23] gnu: Add ghc-semigroups-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 16/23] gnu: Add ghc-base16-bytestring-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 17/23] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 18/23] gnu: Add ghc-unordered-containers-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 19/23] gnu: Add ghc-filepattern-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 20/23] gnu: Add ghc-shake-bootstrap-for-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 21/23] gnu: Add hadrian-for-ghc-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 22/23] gnu: Add ghc-9.6 Saku Laesvuori via Guix-patches via
2024-06-07  7:49   ` [bug#67921] [PATCH haskell-team 23/23] gnu: ghc: Update to version 9.6.5 Saku Laesvuori via Guix-patches via
2024-02-15 17:05 ` [bug#67921] [WIP PATCH v2 00/23] Update GHC to 9.6.4 Suhail via Guix-patches via
2024-02-15 17:49   ` Saku Laesvuori via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1707827100.git.saku@laesvuori.fi \
    --to=guix-patches@gnu.org \
    --cc=67921@debbugs.gnu.org \
    --cc=69154@debbugs.gnu.org \
    --cc=lars@6xq.net \
    --cc=saku@laesvuori.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).