From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oM0VE+UCzmW5AwEAe85BDQ:P1 (envelope-from ) for ; Thu, 15 Feb 2024 13:26:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oM0VE+UCzmW5AwEAe85BDQ (envelope-from ) for ; Thu, 15 Feb 2024 13:26:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=M7LtvZsT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707999973; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=G+FwtBnZXGM39WhPhDTjYSPLdcZZVuDQsaUSkMcZ8BQ=; b=kqD6xaANx3DEDF88L825GZiOEeK/HGRPPMJ/BSOTcnmlQlEh3H6hJwVjdlD2ErqDnPhBZL C6n4ENeSJHwLvyXScACuNMUjk9rI7hz21PvNcfaDZS/9z3n2lDNMUqTipun2A8WiKQqUBt yyTdGMByrGIWZAvOaEm0eGJJj32tkCfohxHD4CubgNhAJFoqke42LFi4dNTDL3LhT6SaMj p4oEQSkWJhETc9okFRH1jFDZX/J2RBdN/2JxQGnKCfR9Tsi5KRnwjytPpcqWrrqcV6PonA 6Dc9CD4fJd+ZAflOh9K7Xq2tbD10A/O40UXA4Dxd+90FjAc43pIJQ8e2csOhLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=M7LtvZsT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707999973; a=rsa-sha256; cv=none; b=KP84dwJD4PczeKi4nd8/5T0QPcsCvlCH3VtS+Q9htFLQk5OIXHlmSTLFL0iZFtCSfnVNSp no2PSrV999zz7bSrmnx+ywiVELatD8blWRTrOH4glu+/Me1rye0GEbtyoNgBGhHUCBezwW vMow36gp01osTKsgzGab5tnaA2Gq2NwWMaQxGz4hhJhG6mXrbgELvzklLFhL1cQe54G7eS +wko5o0oiKG09E4lzOhAUjxWjnbKabFNhawaZ8mCYMd7yH5T6LTfyxLKm5GgevrwL096MX te0oon1tMf9cUGgkYPAAWz5YtbOLsEI51XZsTot4TJADXmbnCHrjosvySyNb9w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 342C76FEFB for ; Thu, 15 Feb 2024 13:26:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raami-00029n-J4; Thu, 15 Feb 2024 07:24:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raamh-00028Y-9l for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:11 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raamh-0006CJ-1M for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raamz-0001eF-JZ; Thu, 15 Feb 2024 07:24:29 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69154] [WIP PATCH v2 00/23] Update GHC to 9.6.4 Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 12:24:29 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69154 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69154@debbugs.gnu.org, 67921@debbugs.gnu.org Cc: Saku Laesvuori , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org, 67921@debbugs.gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.17079998145978 (code B ref -1); Thu, 15 Feb 2024 12:24:29 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2024 12:23:34 +0000 Received: from localhost ([127.0.0.1]:54436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raam5-0001YG-UQ for submit@debbugs.gnu.org; Thu, 15 Feb 2024 07:23:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaO8-0006TL-6f for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:58:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXS4-0008M1-Fe for guix-patches@gnu.org; Thu, 15 Feb 2024 03:50:40 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXS2-0003fD-OV for guix-patches@gnu.org; Thu, 15 Feb 2024 03:50:40 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 4F321342FEF; Thu, 15 Feb 2024 09:51:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987073; bh=wKgiVXf8tTP7y6f5bkixpMDApiDixo46vvPnoJvpfug=; h=From:To:Cc:Subject:Date; b=M7LtvZsTcunaO2iFpIw0YdM+Z67/C5TApOXMytHcaEIOzM2FoIeyxffXX7+t16xH0 PaJvPFoj/J+y6J1rKaEbBfC7hmFe0Qs/ELpLtvaSDGrcn+kbzzQPUwF9Zlapu9LhvB VE1V1KNdbB/YIlIYu7xXa3wY0um2eu/dJ1QKR+A0= Date: Thu, 15 Feb 2024 10:49:41 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches From: Saku Laesvuori via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.81 X-Spam-Score: -4.81 X-Migadu-Queue-Id: 342C76FEFB X-TUID: x+aWKN7Rv+Eb Message-ID: <20240215084941.WgBkPvjVp4FCUccNp0fpIwUXrlewT6NOvJrWd6mX02c@z> 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