From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6D4bJ1Fyn2LhVgAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 17:44:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EI/VJlFyn2IbowAAauVa8A (envelope-from ) for ; Tue, 07 Jun 2022 17:44:17 +0200 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 167A2E69F for ; Tue, 7 Jun 2022 17:44:17 +0200 (CEST) Received: from localhost ([::1]:55942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nybNP-00039M-1I for larch@yhetil.org; Tue, 07 Jun 2022 11:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nybNC-000393-UF for bug-guix@gnu.org; Tue, 07 Jun 2022 11:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nybNC-0000ly-Ic for bug-guix@gnu.org; Tue, 07 Jun 2022 11:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nybNC-0005HI-Gn for bug-guix@gnu.org; Tue, 07 Jun 2022 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55833: cross-base error: wrong type argument in position 1 Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Jun 2022 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55833 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55833@debbugs.gnu.org, othacehe@gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" , "othacehe@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.165461662020249 (code B ref -1); Tue, 07 Jun 2022 15:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2022 15:43:40 +0000 Received: from localhost ([127.0.0.1]:41185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nybMh-0005GG-JP for submit@debbugs.gnu.org; Tue, 07 Jun 2022 11:43:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:34858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nybMd-0005Fx-P4 for submit@debbugs.gnu.org; Tue, 07 Jun 2022 11:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nybMc-0002rz-Vv for bug-guix@gnu.org; Tue, 07 Jun 2022 11:43:27 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:43444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nybMa-0000h0-8I for bug-guix@gnu.org; Tue, 07 Jun 2022 11:43:26 -0400 Date: Tue, 07 Jun 2022 15:43:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1654616598; x=1654875798; bh=bYXaCuLZReYDbzmUBNB+VDd3BLDBRxG16uk58pKKT9g=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=gLRyUqqFJcJj/wcy43kc9IQbgYvGCP6MVPaBVhIuRseO5f29qWAREgLitdI1PKE8I zNXTg7Peq3tt+uDAIjxDtTRvzVaWykb/Rh8+KzrsmZ/3IFh54oXTMgdO7xc/UBtH6F tY7HZDXpFKJFdmeFj/5lfcwTyErAJEAsgWiM/ShRLDnhIF1anFjS+yhjEGlbtPu45n V/HFKSIq6lE6UAX3ybRbZZ/ZnDSam3al4aLRLoK2ZGLfRUjSE7Upkasx0h9OMEa0eC 1geXszyUSdV3svuS/KMB6ICpX2WlDzLFESzLhR2ymvkhvs49otDmUCCQJpb8hLKuGr 0TVP0QIi+5VSw== From: Ekaitz Zarraga Message-ID: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=51.77.79.158; envelope-from=ekaitz@elenq.tech; helo=mail-0201.mail-europe.com 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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654616657; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=bYXaCuLZReYDbzmUBNB+VDd3BLDBRxG16uk58pKKT9g=; b=HEV0xf5xjgsqwMbATIZP18APlt51E03p3OjN/SbSOT1EVyrfkK/qIbCYs73cPacpGsvcCV otdDfjFC/sbF0P6njf+34YffzrlVf0jE0Yiokyl59Z0l9s4y5IuCSqwd/BhDXuzHw5D1HN S9WMLi9s6x+fAdx7XlHAiX5AiEPI/i3uOxLj7P+0d76NEoCNKlvx7H3jRPfUj5pLOpRaCG TRw0hRo+BOggF1tq6b17bnOrxDhdgoTGdUFNFMGti3PfagxsyqFia/q6IVwJ7UmtSvYp/k p+EN5x+7tAYoi/gyezUX0rVSDT90UaYXMSudLGdvZOd3KHrX9OZ5LNHqld/Zpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654616657; a=rsa-sha256; cv=none; b=Xkis+yrhqZsVazGfqFlFMfVt0tfSpaO+F/v2OuLNIU2nY86Irqq+y6xt8J1CTnM1xI42s8 d55ps0rIDM6AMkP1SY5HAoV3y1ONH367jfiQ2UsUIc4MAsB4sF3bgRIUsBjZPMZfswNRRT fR+2LU999ypdrpTK+o6+nqjmyJCM8cPZ0ehq+DES4BdU553RAuSwnvt0yKV0eT2yjSOeFg PYg4nxuQ54tkRqBgwGqXexGovdwB84TTM0Xx+hvsmK7cRIIS/zhlc48UgcSG0KQQFjFTLy YKObsDMHS5XsA0MqSdOvo9BsBp3vqVtyqW99r38/V4nnj4K5ZN5FvTbCi3D38A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=gLRyUqqF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=gLRyUqqF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 167A2E69F X-Spam-Score: 5.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: 57FPZXqduU0Y Hi all, I'm experiencing the following error when I try to make something like (cro= ss-libc "riscv64-unknown-linux-gnu") and it broke in every single setup I a= lready have for months and was working properly. In fact, it works as expec= ted when using a time-machine to the past. ``` $ guix shell -m manifest.scm Backtrace: In guix/scripts/environment.scm: 953:13 19 (_) In guix/store.scm: 2168:25 18 (run-with-store # = =E2=80=A6) In guix/scripts/environment.scm: 955:14 17 (_ _) In guix/profiles.scm: 627:3 16 (_ _) In srfi/srfi-1.scm: 586:29 15 (map1 (#< name: "gcc" version: "4.6.=E2=80= =A6> =E2=80=A6)) 586:29 14 (map1 (#< name: "binutils-cross-risc=E2=80= =A6> =E2=80=A6)) 586:17 13 (map1 (#< name: "glibc-cross-riscv64=E2=80= =A6> =E2=80=A6)) In guix/profiles.scm: 1889:19 12 (_ _) In guix/packages.scm: 1269:17 11 (supported-package? # =E2=80=A6) In guix/memoization.scm: 101:0 10 (_ # # =E2=80=A6) In guix/packages.scm: 1239:12 9 (_) In srfi/srfi-1.scm: 460:18 8 (fold # =E2=80=A6) In guix/packages.scm: 1243:42 7 (_ _ ("x86_64-linux" "i686-linux")) In guix/memoization.scm: 101:0 6 (_ # # =E2=80=A6) In guix/packages.scm: 1247:37 5 (_) 1507:16 4 (package->bag _ _ _ #:graft? _) 1612:43 3 (thunk) In gnu/packages/cross-base.scm: 352:33 2 (loop (#:phases (modify-phases %standard-phases # =E2=80=A6) = =E2=80=A6) #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting st= ruct): #f ``` I think the error was introduced in the commit b55310603f0df7d5ae02d47cb8d4= be58bf1d41ca but I can't really explain what's happening. You can replicate this using the manifest from: https://github.com/ekaitz-z= arraga/gcc It won't work if you have guix updated, but it will if you use the time-mac= hine with the `channels.scm` file in the same repo. You can also try with smaller packages (the repo is a full gcc4.6, use it u= nder your own risk (: ), anything that uses `(cross-libc "riscv64-unknown-l= inux-gnu")` will trigger the error. I would fix this myself but I don't really understand what's going on. If a= nyone guides me a little I'm open to fix it myself. Thank you all! Ekaitz ElenQ Technology Ethical Innovation