From nobody Wed Nov 19 01:40:43 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) client-ip=209.85.221.52; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f52.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1614114679; cv=none; d=zohomail.com; s=zohoarc; b=dbCTMcr4yaGa3JMJjDGz0QdnNsn6vm0v1U2lwNAB36hb4x+r8EsNck5th/tK2RzNfTiQECxzEKyoJK5YoNOTcout4hp8HBNg6qbLFqUjY8L3esXMvGhLYXtmZQiYK57hfMqDG5pCc/mlFBrX1wJEqBrHZSBGKObMDaKvteHyf8g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614114679; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Sender:Subject:To; bh=rdjBx72aSF3XhB+Mr/HN1j2ULLAwqHlFQjWOPN6q/zM=; b=fthIFMM3k33FVwn9lEvkzNor5GKJ6Fh3QQvyZ08UGZL+x5Pbnc2i4NoG902MbTB9hklGyZk4X/Lm/1+kSLX5kBDNI/UY0hyZqFw8JFvt20VNwL7SPmJ92GcPPTW9Mt4vRSFjvFYAjpRJ5x2qJ83HwJdsrroO6w0S4qtippYYNTw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.52 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.zohomail.com with SMTPS id 161411467954728.89382366295888; Tue, 23 Feb 2021 13:11:19 -0800 (PST) Received: by mail-wr1-f52.google.com with SMTP id c7so7238318wru.8 for ; Tue, 23 Feb 2021 13:11:18 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id g18sm32575451wrw.40.2021.02.23.13.11.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 13:11:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rdjBx72aSF3XhB+Mr/HN1j2ULLAwqHlFQjWOPN6q/zM=; b=c9IJ7MayB5U0W6Tk7ezLR6Eu/D1HVVvTmHb740ICZ4FQ5mUbMru2GPNKwIqnUbnZp+ KhQu/IzXR1Rsow6jDv0r0KaZu4S4a57M3Dagy1XyGvzCYzenF/PUDNeLrvzvU33ACNvs ljXsLuBKPR3TMPQh/iab9GKx2eFF9sN+cVkd0BMEaStfsgq9Eb/HTljm0i5d3hjY4Anm sVXnCm7kl6unReuOPTCUvx6cbChZS+bA+J+oKb1ga4Gu7twV+nLhC5zsaYEctdSTOFD8 07hEOAHOgDIuhvhx0lbMWVOCJrkRFYDPg1voCM2OVSnZVP63WHuPSXioyf8eMSBGtf1W wLoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=rdjBx72aSF3XhB+Mr/HN1j2ULLAwqHlFQjWOPN6q/zM=; b=dSW9PYTDDMeWDZjnWnjDy834QUAbo6VWaWVjALKjUiKMOtFKJJbpfRjAy2Bewek+mv uEuuqXS7yfrRLlDvT7gFQM+GLX/UPez6LIAgmr1tC7utlzEXarzVvzEFZrArWe4EQbjI /p+dnMYvZqRuh4YNVpjguHvTcsrywBPN/gQz/skwxPl7+vwc3Z9DocCX5P/3AbkibjIU GBgYB8x1Bp5ZX8eQ8lntYboLh5/Kp1W6LtvPggLRBaAvnY1ROXUCvEhy8gUAIE6tzanR C/0Lo0IU9ju1BATkEB9S6uZZ7HMppFGw5U4ysRtCcEQv7gmiZDyEZOvBvIICIIECAPuI Gazg== X-Gm-Message-State: AOAM532Jcal1+ynRhUlVop6w8dTV4RI8W+p0aInFLSU5pZe2K9I4Vl3L x4Hl5R82LdumQM0XB3bWp20= X-Google-Smtp-Source: ABdhPJy9lLSbTYWSPWO8ZksquyOtL0A151ebQHlxm5dD8T7VTopnCwRBEs413VhV6XvpJ53JDNMlsA== X-Received: by 2002:adf:e90e:: with SMTP id f14mr27096305wrm.324.1614114677868; Tue, 23 Feb 2021 13:11:17 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Fam Zheng , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Christian Ehrhardt Subject: [PATCH v2] tests/docker: Use --arch-only when building Debian cross image Date: Tue, 23 Feb 2021 22:11:15 +0100 Message-Id: <20210223211115.2971565-1-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) When building a Docker image based on debian10.docker on a non-x86 host, we get: [2/4] RUN apt update && DEBIAN_FRONTEND=3Dnoninteractive eatmydata = apt build-dep -yy qemu Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: builddeps:qemu : Depends: gcc-s390x-linux-gnu but it is not installable Depends: gcc-alpha-linux-gnu but it is not installable E: Unable to correct problems, you have held broken packages. Fix by using the --arch-only option suggested here: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1866032/comments/1 Suggested-by: Christian Ehrhardt Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/dockerfiles/debian10.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/docker= files/debian10.docker index 9d42b5a4b81..d034acbd256 100644 --- a/tests/docker/dockerfiles/debian10.docker +++ b/tests/docker/dockerfiles/debian10.docker @@ -32,6 +32,6 @@ RUN apt update && \ psmisc \ python3 \ python3-sphinx \ - $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d= \ -f2) + $(apt-get -s build-dep --arch-only qemu | egrep ^Inst | fgrep '[al= l]' | cut -d\ -f2) =20 ENV FEATURES docs --=20 2.26.2