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 ms9.migadu.com with LMTPS id YK5RCfLIEGSCIgEASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 20:20:18 +0100 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 mFUECfLIEGQTUAAAauVa8A (envelope-from ) for ; Tue, 14 Mar 2023 20:20:18 +0100 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 C849C1B138 for ; Tue, 14 Mar 2023 20:20:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcABn-0000ES-96; Tue, 14 Mar 2023 15:20:03 -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 1pcABm-0000Dx-Cb for bug-guix@gnu.org; Tue, 14 Mar 2023 15:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcABm-0002xA-3b for bug-guix@gnu.org; Tue, 14 Mar 2023 15:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcABl-0001LL-Qg for bug-guix@gnu.org; Tue, 14 Mar 2023 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62192: Test failures in binfmt emulated builds Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Mar 2023 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62192 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62192@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16788215935143 (code B ref -1); Tue, 14 Mar 2023 19:20:01 +0000 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: 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-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=uThVIkeB; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678821617; a=rsa-sha256; cv=none; b=Tq6ZifoekYqj1OaUaoqXOUCBGG4J/oIze0QmleiPnrqm9azSkKlU1A7aAbwkSGniLCOWsg q5xVHe6pzT2Q8/hzJ7yRM3XmGMrkPfiCO1E4H5V2HXQwAnY26meEi+5wkG9USn1jbs0+fz +viFoRs5/a5qivrVxuSXSlyw6CdWKjvtGxZLAUumjbCMbddZKCPy4BsEU1yMmTKVzcUBTM tAZEd/nSE2us6VrWepahCR+j7KocQG9owqKhkkQQsg7sIwVW8Xce6F4LmtGbn9LAUXBtYl p2S13unYjMptlqV5mmc8tV5kfjZh1P6Sm9pwA+QO0LxLrD4kbPcdTRPa28eNnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678821617; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Px+bX3m3slBJ3oqLaa51Ezvq0mVOj+5YC9g00AxiQFQ=; b=oxghWXOKbxAGXK8cKGx8WiHg4q2oIb9MCJWvi9C0WJZJIICFyCvUSQqQC3iEG5tQgv3UF/ /Qk23Ajgb4kePtJTQc19SkkhemYjyWgzEbcpRHZudNGOJEmBZtqvjydjfienB4NgQUVG3A XIDRSRxYFGL6bGc852Sjw7SVSJrkx2dzPqLTWdKyokId8D7EVt2DNrsHSAvSRVvYh1/Ah6 HNHHEwCSsGzd+xHnvZBUe2rbsEcVBwGN7g01OpMcDJyktVEx7MtTHXI6sQD68qZUtbPmk5 73CCytOfYBcy7bXoW6TiJ41wG5bsnFSkJmw/0OGaPffZylk2ezviN3qW3Nplzw== X-Migadu-Spam-Score: -2.42 X-Spam-Score: -2.42 X-Migadu-Queue-Id: C849C1B138 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=uThVIkeB; 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=none X-TUID: x3C7fhz/VkX1 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