From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id +GIlG81LXWYOlQAAe85BDQ:P1 (envelope-from ) for ; Mon, 03 Jun 2024 06:51:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +GIlG81LXWYOlQAAe85BDQ (envelope-from ) for ; Mon, 03 Jun 2024 06:51:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ClC+TrUe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717390285; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=S5I1MLEmStEtaU037G08TFzUcMxIlsNkh0K5B8JHGjI=; b=CQ6zHbT7pl8Ud3M9bVmidCBawA7v9Nqc8CIp7luNfJpjucZWAyImEz8GxnmJ+tFoqhr2Rt n34UIU8/mBm8UtHdCDQBxZVhlBkOqPeXC+8c/NtT78QY12Urw3tsdzfOhCzvaPo2EKGXjV VFkwe11cVimYuG7PS09aG1e2m8ZR+PJxHlrzCKlt6jKN+8mJMadw9JBgOgKvtMZK+5xwI9 kTZviPjzi+gVjM71VFh7iVZMnNyGt3LBHCG1sBVfpAExZe4LJDdHklDuUvxh04+MfKi7m8 58GFPNibTNe5UbxBujUOUCvYKCtpF6bJGk51FDqNe5hav5KJE6ie+3GI6Lc5UQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717390285; a=rsa-sha256; cv=none; b=i+XvNeJeRgGP9HCRaaAWgPYM1GCDEaB5UGZRhjqyd/UPOIxkUBIa2eQh9HWYKUXodaKWL7 u7rcU8KlEBKIN3SQe2cQ3EWsiMqDfJHNrI+pauo4HOtddixff6hocg3tl2xirWNM/q6bPn ZsDM8rY+8E7mEhfV0noTUvLaRneS/jj+Mlz4IjwTBbnGmy7WmqJIXYUyWYdihLDaFAxde+ riusSYDJzRTLwYE6+uHO0LaBzFkDisT61YEDpMRl8P6dFBrih4FJksD2PWzUj1Opu8RGkB WZUPRTqP4a1O9CcfJbeqI86texHIVyi171G6ikL7qYMIPnibMyL147/OPFu8uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ClC+TrUe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" 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 3B4D067DDB for ; Mon, 03 Jun 2024 06:51:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDy6m-0004OO-3q; Sun, 02 Jun 2024 23:11:40 -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 1sDy6i-0004Ns-TT for bug-guix@gnu.org; Sun, 02 Jun 2024 23:11:37 -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 1sDvYE-0004fY-5V for bug-guix@gnu.org; Sun, 02 Jun 2024 20:27:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDvYQ-0005Lp-Bx for bug-guix@gnu.org; Sun, 02 Jun 2024 20:28:02 -0400 Subject: bug#62192: Test failures in binfmt emulated builds Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 03 Jun 2024 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62192 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Greg Hogan Cc: 62192-done@debbugs.gnu.org Mail-Followup-To: 62192@debbugs.gnu.org, maxim.cournoyer@gmail.com, code@greghogan.com Received: via spool by 62192-done@debbugs.gnu.org id=D62192.171737446520516 (code D ref 62192); Mon, 03 Jun 2024 00:28:02 +0000 Received: (at 62192-done) by debbugs.gnu.org; 3 Jun 2024 00:27:45 +0000 Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDvY8-0005Ko-GG for submit@debbugs.gnu.org; Sun, 02 Jun 2024 20:27:44 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:46491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDvY6-0005KP-Tn for 62192-done@debbugs.gnu.org; Sun, 02 Jun 2024 20:27:43 -0400 Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6ae1059a62fso20392896d6.1 for <62192-done@debbugs.gnu.org>; Sun, 02 Jun 2024 17:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717374383; x=1717979183; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=S5I1MLEmStEtaU037G08TFzUcMxIlsNkh0K5B8JHGjI=; b=ClC+TrUemne4Xj9BdSBJkOuWJ82r5jvZoKU9oEiKbjUUcBt41ui5JqBIQzUnDUfPHB LCHlakNYNvV7Ohpy9LSYTDl2aK3X8OP69qAitrKqwMAIhJQmonMSb4M+HqkFjJ8KzcTB 2/9qBHWO8tQUEAzC73n7qxZwA1xyq4dC8Q5w4th5rxJ/fdThT/iL5gt6Eal0pmDxeXVt lX7Yd3q3j9olfAkF4+ipNqt85o5iw8AtRgRExDHxUPr6Lz1QG9kqhHW2GEJx3qrQ7R7T +l6PiQ6wE3US7cbW2PETyi6xwDHM5UWhRR/svdAGQbmD0xxbTMNFjNci6Az0CWkrEuqY Fcdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717374383; x=1717979183; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=S5I1MLEmStEtaU037G08TFzUcMxIlsNkh0K5B8JHGjI=; b=LT3aDjydLjeJkb5UXEP7bYuyOnnWpufiw0RGtmKRFdtJJ0+fzOMtbPpZxnvFpalPKh igIzYGtqN7Eu/VRZXL3v9960HMO2jvwckOlwmqHk/ivTV15gKc7XbtxY3wdFPwaOz/wL a6NSF9QHj2UlfLOBUfuoNMfbeqwsEs8iG+8akIJCXCSyc2SGamkWsnl2QNOg2xbKS0qP F6PNeoJ6NXvuK8HJbqbwr9mpU+Y8tdEGpsFuuM9fhkxSWBQzCPjl6gnVT+qaTCee1rKd eZP7P5W3n0nSHaFihssP3Ta2ShbJgCy750WTvkSXFvOkX6EFvJFTrXjnSzXrwzD1ossD dmCg== X-Gm-Message-State: AOJu0YznuqGaaNwzhcnEZc3VYOr5LsWbLsea0sOphOXCkpeVhyW8DFNw 4W/7tXmZNngiKCYWSKelXrrGaQeYbSMmYtH6CsEGDVhPpM+dt40p4LlYLw== X-Google-Smtp-Source: AGHT+IHDlqSy9DFOvdi9ZfEqAtpLBRu5Q3eaTOtZrWda+4+axjMa7bS3xlgrATx8MZUbiK07Rvzukg== X-Received: by 2002:a05:6214:5d02:b0:6ae:49b3:ff26 with SMTP id 6a1803df08f44-6aecd6d9b5emr82773356d6.48.1717374383299; Sun, 02 Jun 2024 17:26:23 -0700 (PDT) Received: from hurd (dsl-10-130-93.b2b2c.ca. [72.10.130.93]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6afbcf61646sm6102776d6.27.2024.06.02.17.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 17:26:22 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: (Greg Hogan's message of "Tue, 14 Mar 2023 15:19:36 -0400") References: Date: Sun, 02 Jun 2024 20:26:21 -0400 Message-ID: <87plsykh1u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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: -2.24 X-Spam-Score: -2.24 X-Migadu-Queue-Id: 3B4D067DDB X-Migadu-Scanner: mx11.migadu.com X-TUID: CD9Flxc3AYcc Hi Greg, Greg Hogan writes: > The following emulated build using binfmt should work according to the > documentation example at > https://guix.gnu.org/manual/en/html_node/Native-Builds.html > > $ uname -m > x86_64 > > > The package was previously built on an aarch64 offload machine: > > $ file $(guix build --system=aarch64-linux hello)/bin/hello > /gnu/store/s2qnbdlrwlx47h5p6rxlylny1259srmj-hello-2.12.1/bin/hello: > ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically > linked, interpreter > /gnu/store/gfjp8gfv4xxschbaxvldpigadfwqazhw-glibc-2.33/lib/ld-linux-aarch64.so.1, > for GNU/Linux 2.6.32, stripped > > > Successfully executed using binfmt emulation: > > $ $(guix build --system=aarch64-linux hello)/bin/hello > Hello, world! > > > A locally emulated check build fails during the test phase: > > $ guix describe > Generation 35 Mar 13 2023 13:37:24 (current) > guix 1ed227d > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 1ed227d7952af48efe50a2f6c9537e17c356daa1 > > $ guix build --check --system=aarch64-linux --verbosity=1 hello > The following derivation will be built: > /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv > > building /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv... > | 'check' phasebuilder for > `/gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv' failed > with exit code 1 > build of /gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv failed > View build log at > '/var/log/guix/drvs/sg/9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv.gz'. > guix build: error: build of > `/gnu/store/sg9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv' failed > > > $ zcat /var/log/guix/drvs/sg/9mpl4nf7j2w8bmv5q4725gpirhi225-hello-2.12.1.drv.gz > [...] > Test suite failed, dumping logs. > > --- ./test-suite.log -------------------------------------------------------- > > ======================================== > GNU Hello 2.12.1: ./test-suite.log > ======================================== > > # TOTAL: 7 > # PASS: 4 > # SKIP: 1 > # XFAIL: 0 > # FAIL: 2 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: tests/atexit-1 > ==================== > > FAIL tests/atexit-1 (exit status: 1) > > SKIP: tests/greeting-2 > ====================== > > ./tests/greeting-2: Skipping test: not a full moon night > SKIP tests/greeting-2 (exit status: 77) > > FAIL: tests/operand-1 > ===================== This kind of problem is really a bug/limitation in QEMU. I'd suggest forwarding this report to them if you'd like to have it resolved. Closing. -- Thanks, Maxim