From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 14 15:19:53 2023 Received: (at submit) by debbugs.gnu.org; 14 Mar 2023 19:19:53 +0000 Received: from localhost ([127.0.0.1]:38484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcABc-0001Ks-KK for submit@debbugs.gnu.org; Tue, 14 Mar 2023 15:19:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:53472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcABb-0001Kk-C0 for submit@debbugs.gnu.org; Tue, 14 Mar 2023 15:19:51 -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 1pcABb-00009W-2m for bug-guix@gnu.org; Tue, 14 Mar 2023 15:19:51 -0400 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcABZ-0002ua-3F for bug-guix@gnu.org; Tue, 14 Mar 2023 15:19:50 -0400 Received: by mail-yb1-xb2b.google.com with SMTP id v196so9459799ybe.9 for ; Tue, 14 Mar 2023 12:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; t=1678821587; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Px+bX3m3slBJ3oqLaa51Ezvq0mVOj+5YC9g00AxiQFQ=; b=uThVIkeB45GFIE2ChIML/S65DmMq0Qkz+Vlr6euhZAAmZ91PaMY/rtLQyDJ0hJyLci /o6OtKDaDG77awlc3cxac5+Qkb2h+9wYh8vLaA9Wdf0z8gxn9t0iRkhBQGCnJo4nz/+i UcwrR3jpMArj7XMPLLAFdUnxmQfwMPqkuwN02vX/Kg0fK/W5YngMJ7xRLXeLap+xXAEO iewYdV7taMZf44aMZOO8Beph6wIQZVVd8YdEIrmzoJjRvikIk4wHXuVo5mNFFyPnlsdX m6FQSX6MggnclrXPX5HPo+Q/v78xN+NJIqoT29Ii+Fi2efMm6PmgOf6zjKmd6ET96fWB 1WgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678821587; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Px+bX3m3slBJ3oqLaa51Ezvq0mVOj+5YC9g00AxiQFQ=; b=lFj1E1bIyyt9PaQAK/PPJTfcBZF0QNkQIayPcBJE8eRu4VxS+JTzg4Fgv1CNWym+po D+aCXQFoVAWp9IYl4QDiZC27EPudoIHF8wu+MYySVAUxyqIhu7gQbuAW1pWxNrsHa3Lu m6Upwxs+jlNdReRWVepm5mMTSsobBYLYXZ+vzXzbxX5yMctoENa+JPS9U3NLMRtFefi2 ijoXATOKQ9n6jb2PT9Cd/nyDvW4Ssp7v2HfzXRRRHr3/w97kHFBwRZZaArTftO0XGEiW kXRii4CS4vfbBTqd3KEloZTtMhCkSmHjoKdlxm/0Bl5AIuOQDAD8lNMFRLTvFoUAufL1 Y2Ag== X-Gm-Message-State: AO0yUKU0lCws3kwvE5AQXx1BxPuUxzcGUVcqYhUvnp7GV6UF5DZ8xxmF N/QJI7jBFdHVCZp/7ukihRw7XHVBG2BaC4pqIFaWJgCuhJ+Mxas51Oc= X-Google-Smtp-Source: AK7set8GPVQvogHuMECNiLRXIg6nFAK1d1X1+o8SEErE+yOkls9LSi959WZx35GJQiGW3ufwYekFShS5iReNzCGNKjI= X-Received: by 2002:a5b:6c8:0:b0:b36:32f8:852d with SMTP id r8-20020a5b06c8000000b00b3632f8852dmr2770404ybq.4.1678821587672; Tue, 14 Mar 2023 12:19:47 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Tue, 14 Mar 2023 15:19:36 -0400 Message-ID: Subject: Test failures in binfmt emulated builds To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2607:f8b0:4864:20::b2b; envelope-from=code@greghogan.com; helo=mail-yb1-xb2b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 ===================== 1,2c1,2 < hello: extra operand: first < Try 'hello --help' for more information. --- > ./hello: extra operand: first > Try './hello --help' for more information. FAIL tests/operand-1 (exit status: 1) error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("check" "-j" "2") exit-status: 2 term-signal: #f stop-signal: #f> phase `check' failed after 15.0 seconds command "make" "check" "-j" "2" failed with status 2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 20:27:45 2024 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 To: Greg Hogan Subject: Re: bug#62192: Test failures in binfmt emulated builds 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62192-done Cc: 62192-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Sat Aug 16 16:15:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jul 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator