From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wIYMKoE6FWV6VgAA9RJhRA:P1 (envelope-from ) for ; Thu, 28 Sep 2023 10:34:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wIYMKoE6FWV6VgAA9RJhRA (envelope-from ) for ; Thu, 28 Sep 2023 10:34:09 +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 1788532B45 for ; Thu, 28 Sep 2023 10:34:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=D13DY0S1; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695890049; h=from:from:sender:sender: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=V5cTHCX9hv5G+OcSOpCvvhe6yOewRNPk6eMF4aIGcuc=; b=SnQ19CMbgOpBcW6MGUdhtc72ViJKXIfEYriZH56nSXUFNoDnPmEn6R/qHAib1+CMFQobun bW1Q/EZsqvqRVsTCPitz8C3K60nDHycKfM5Xn8ISC8FKOLmhXusO5QNVoHt6eMGDANwSSK RbSdpabZovjRb/UOAsb80LNdqfbmZ8rVTtSP8cmeB4Uo260XsKmHPzLeC17Vtwc0xSu7EH NPfwyHLOZYPTYrfN23g6pcgR6e8R5vlAX4NsS7qbmq/SQGOtHw9p893KNnAc7Hl3fcdkhe m/oqmqnHOrL2Jg7kCm6spqNX32dhtCHIjIEnEgpfyUWrYaa34RpEFtqjpUD0mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=D13DY0S1; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695890049; a=rsa-sha256; cv=none; b=ZFzZjMIRPAb8DTV/lqBGq4HT4GjkAEl0rokzjOvXmbrqqZaoJUCyCDGekwBUy3UyvQf7Kg i2Dbu7SYp/Aknb3HNJqRGshgTQ2L11UNzMKd5H+MAHjp/3g2XO9a0Cit+x6ESPM5RbDOwm eXLlEFe7DQf4qDSs3uk7vBOmZ2o9y6ijCYLcI+PCIgE8Ktk8UY09zlinfNXrAA4CtlDFdL z0lGhkVtvveW7TsdVYKM9jwGRPAMyzlG83/PyUrUuy0vEpseSQMedDCC49B9DNWlq9aXLl t/mX/tPrVJZzYuOOkNm6nfVezVbSkf/Trmt55zvx/mber/sBaNmpBS9qN7k4pg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlmT0-000347-M0; Thu, 28 Sep 2023 04:33:50 -0400 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 1qlmSy-00033d-KY for bug-guix@gnu.org; Thu, 28 Sep 2023 04:33:48 -0400 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 1qlmSy-0005sx-6L for bug-guix@gnu.org; Thu, 28 Sep 2023 04:33:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qlmTB-0001p3-Sh for bug-guix@gnu.org; Thu, 28 Sep 2023 04:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66249: Building for armv7 fails Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Sep 2023 08:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66249 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66249@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16958899986945 (code B ref -1); Thu, 28 Sep 2023 08:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2023 08:33:18 +0000 Received: from localhost ([127.0.0.1]:52945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlmST-0001nv-Bs for submit@debbugs.gnu.org; Thu, 28 Sep 2023 04:33:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlmSO-0001nW-Hy for submit@debbugs.gnu.org; Thu, 28 Sep 2023 04:33:16 -0400 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 1qlmS2-0002bW-2p for bug-guix@gnu.org; Thu, 28 Sep 2023 04:32:50 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qlmS0-0005P5-AM for bug-guix@gnu.org; Thu, 28 Sep 2023 04:32:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1695889959; h=from:from: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; bh=V5cTHCX9hv5G+OcSOpCvvhe6yOewRNPk6eMF4aIGcuc=; b=D13DY0S1Hl3gYwofPa4m0QBSFY1edFLD8IssIeJWCG8C5jixnwwmb2FZyYzUTUz4VMKHpE 2kbpeWTZAcYxOh8CtP1Pz9hUyRRUZ/yXfeHhjT8h15Emm2CZvJJCwJrUbSlceatfp8b/a7 +Q9rA9JXwHqCAIRAgKDHjbJvZTLHCpA= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Thu, 28 Sep 2023 10:19:57 +0200 Message-ID: <87a5t64s0r.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org 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 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.10 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 1788532B45 X-Spam-Score: -5.10 X-TUID: M3rM68ZSCajJ Dear Guix! I'm packaging ripgrep in an ARM VM, which needs to build Rust itself, and fails with the following end of the log file (with the terminal colours not represented): --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# guix pack -R -S /emacsbin=3Dbin \ emacs-no-x fd ripgrep sqlite \ htop fish \ aspell aspell-dict-en aspell-dict-fr [...] ESC[32m(43/173) BUILDING typenum v1.12.0ESC[0m > /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc rustc-1.54.0-src/vend= or/typenum/src/lib.rs -o output/rustc-build/libtypenum-1_12_0.rlib --crate-= name typenum --crate-type rlib -C emit-depfile=3Doutput/rustc-build/libtype= num-1_12_0.rlib.d --crate-tag 1_12_0 --cfg debug_assertions -O -L output -L= output/rustc-build /tmp/guix-build-rust-1.54.0.drv-0/mrustc/output/rustc-build/build_typenum-1= _12_0/consts.rs:2113: error:0:Duplicate definition of name 'U2' in namespac= e scope (::""::generated::consts) crate::generated::consts::U2/*t:TypeAlias= [::""::generated::consts::U2]*/, and crate::generated::consts::U2/*t:TypeAl= ias[::""::generated::consts::U2]*/ ESC[31mProcess was terminated with signal 6 ESC[0mFAILING COMMAND: /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc= rustc-1.54.0-src/vendor/typenum/src/lib.rs -o output/rustc-build/libtypenu= m-1_12_0.rlib --crate-name typenum --crate-type rlib -C emit-depfile=3Doutp= ut/rustc-build/libtypenum-1_12_0.rlib.d --crate-tag 1_12_0 --cfg debug_asse= rtions -O -L output -L output/rustc-build BUILD FAILED make: *** [minicargo.mk:228: output/rustc] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-f" "minicargo.mk" = "output/rustc" "RUSTC_TARGET=3Darmv7-unknown-linux-gnueabihf" "RUSTC_VERSIO= N=3D1.54.0" "MRUSTC_TARGET_VER=3D1.54" "CFLAGS=3D-std=3Dgnu11" "OUTDIR_SUF= =3D") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 10098.8 seconds command "make" "-f" "minicargo.mk" "output/rustc" "RUSTC_TARGET=3Darmv7-unk= nown-linux-gnueabihf" "RUSTC_VERSION=3D1.54.0" "MRUSTC_TARGET_VER=3D1.54" "= CFLAGS=3D-std=3Dgnu11" "OUTDIR_SUF=3D" failed with status 2 --8<---------------cut here---------------end--------------->8--- Here's the current guix version: --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# guix describe Generation 2 Sep 26 2023 12:59:04 (current) guix b2887da repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: b2887da40c6cb9d541a9df67aa726694f64d8943 --8<---------------cut here---------------end--------------->8--- And if more needed: --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# uname -a Linux vm-remarkable2 6.1.0-12-armmp-lpae #1 SMP Debian 6.1.52-1 (2023-09-07= ) armv7l GNU/Linux --8<---------------cut here---------------end--------------->8--- I have no idea what is triggering this, would anybody have hints to debug? Thanks for anything! And best, S=C3=A9bastien