From patchwork Wed Nov 29 17:39:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 57046 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9425B27BBE9; Wed, 29 Nov 2023 17:41:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,PDS_BTC_ID,SPF_HELO_PASS,URIBL_BLOCKED, WEIRD_PORT autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 349F027BBE2 for ; Wed, 29 Nov 2023 17:41:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8OYV-0001sD-An; Wed, 29 Nov 2023 12:40:59 -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 1r8OYR-0001rq-1E for guix-patches@gnu.org; Wed, 29 Nov 2023 12:40:55 -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 1r8OYQ-0002WS-Mx for guix-patches@gnu.org; Wed, 29 Nov 2023 12:40:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8OYY-0005Uk-83 for guix-patches@gnu.org; Wed, 29 Nov 2023 12:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 67507@debbugs.gnu.org Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170127965921105 (code B ref 67507); Wed, 29 Nov 2023 17:41:02 +0000 Received: (at 67507) by debbugs.gnu.org; 29 Nov 2023 17:40:59 +0000 Received: from localhost ([127.0.0.1]:51029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8OYU-0005UJ-Iz for submit@debbugs.gnu.org; Wed, 29 Nov 2023 12:40:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8OYR-0005U3-P0 for 67507@debbugs.gnu.org; Wed, 29 Nov 2023 12:40:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8OYD-0002Ul-CC; Wed, 29 Nov 2023 12:40:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=06vd2yX5fQHhMdTDlCPw4Ie5BLf5c6yQ7WQ5AIpGqrE=; b=PdKXwLxnDVLeVfimDxrW Y2XkndS3lR4YUAM7An+raPnFWtRxChhGDhnqiRXviEvGmShsVgdNvHeQuESPSXEDUB+mnwF+4NI2V 4urF5aRNY/Q52uDEPuHrsCbN2Y9exweUBzsenFb0kmFeyPmCvA3MaElX5Tdg8znBmF5uxb6laDNmk TfaotSkq7GE+GSf+j2FDuG6+KLPT8zc4EWAis+otqve8BAB2Li2avrKJsHeOQsxiycGWq90MydjKb xk6eZ8g8FXZPG0oyC8jQtVCRVUdKNVVgDmJ/k+hCbp90THQP0uPVvNQOepvlWvUC+j7c45W77AeG7 nICU0xIa2z25ZA==; From: Janneke Nieuwenhuizen In-Reply-To: ("Ludovic =?utf-8?q?Court?= =?utf-8?q?=C3=A8s?= "'s message of "Wed, 29 Nov 2023 16:44:49 +0100") Organization: AvatarAcademy.nl References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> X-Url: http://AvatarAcademy.nl Date: Wed, 29 Nov 2023 18:39:56 +0100 Message-ID: <87wmu0bgr7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Ludovic Courtès writes: Hi! This looks great...but I've added your patches to the bottom of hurd-team, and also added a HACK commit with --8<---------------cut here---------------start------------->8--- --8<---------------cut here---------------end--------------->8--- ...but running `make as-derivation' gives --8<---------------cut here---------------start------------->8--- $ make as-derivation Building Guix in Guix... warning: 'nix-server-socket' is deprecated, use 'store-connection-socket' instead warning: 'nix-server-major-version' is deprecated, use 'store-connection-major-version' instead warning: 'nix-server-minor-version' is deprecated, use 'store-connection-minor-version' instead Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' \normalized load on machine 'kluit.dezyne.org' is 0.91 waiting for locks or build slots... |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' \normalized load on machine 'kluit.dezyne.org' is 0.64 \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv' to 'kluit.dezyne.org'... @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv kluit.dezyne.org retrieving 1 store item from 'kluit.dezyne.org'... -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2.37'... guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2.37' from # Backtrace: cannot build derivation `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv': 1 dependencies couldn't be built 16 (primitive-load "/gnu/store/9glf45m6x8icvia8421jz5gapxkgr3zi-compute-guix-derivation") In ice-9/eval.scm: 155:9 15 (_ _) 159:9 14 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ice-9/boot-9.scm: 152:2 13 (with-fluid* _ _ _) 152:2 12 (with-fluid* _ _ _) In ./guix/store.scm: 2168:24 11 (run-with-store # # ?) In ./guix/self.scm: 1354:2 10 (_ #) In ./guix/packages.scm: 2033:17 9 (_ #) In ./guix/store.scm: 2168:24 8 (run-with-store # # ?) 1996:8 7 (_ #) 2040:38 6 (_ #) In ./guix/grafts.scm: 323:16 5 (graft-derivation # # ?) 285:4 4 (_ #) 173:4 3 (non-self-references # # ?) 175:20 2 (_ #t) In ./guix/store.scm: 1417:15 1 (_ # ("/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.?") ?) 1417:15 0 (loop #f) ./guix/store.scm:1417:15: In procedure loop: ERROR: 1. &store-protocol-error: message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv' failed" status: 1 error: You found a bug: the program '/gnu/store/9glf45m6x8icvia8421jz5gapxkgr3zi-compute-guix-derivation' failed to compute the derivation for Guix (version: "20231129.17"; system: "i586-gnu"; host version: "1.4.0-13.e863274"; pull-version: 1). Please report the COMPLETE output above by email to . make: *** [Makefile:7125: as-derivation] Error 1 [2]18:23:55 janneke@drakenpad:~/src/guix/hurd-team [env] --8<---------------cut here---------------end--------------->8--- What am I missing? (Thanks a lot for looking into this and working on my patches!) Greetings, Janneke diff --git a/build-aux/compile-as-derivation.scm b/build-aux/compile-as-derivation.scm index d945a8c79c..3bc4509f7a 100644 --- a/build-aux/compile-as-derivation.scm +++ b/build-aux/compile-as-derivation.scm @@ -51,7 +51,8 @@ (mlet* %store-monad ((source (interned-file source "guix-source" #:select? git? #:recursive? #t)) - (drv (build source #:pull-version 1))) + (drv (build source #:pull-version 1 + #:system "i586-gnu"))) (mbegin %store-monad (show-what-to-build* (list drv)) (built-derivations (list drv))