From patchwork Tue Feb 23 21:11:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1443644 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=c9IJ7May; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4DlWvT62YFz9sRN for ; Wed, 24 Feb 2021 08:11:49 +1100 (AEDT) Received: from localhost ([::1]:45376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEeyB-0000dL-RZ for incoming@patchwork.ozlabs.org; Tue, 23 Feb 2021 16:11:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEexm-0000d9-1s for qemu-devel@nongnu.org; Tue, 23 Feb 2021 16:11:22 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:45510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEexk-0006sq-B7 for qemu-devel@nongnu.org; Tue, 23 Feb 2021 16:11:21 -0500 Received: by mail-wr1-x430.google.com with SMTP id y17so2428084wrs.12 for ; Tue, 23 Feb 2021 13:11:19 -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=oAQPkEaOy1fXMaJvkz5NgpVhzVDxUGLVB6T93mSGb4MdULhXmovxOADEsj6DToRpdC pGFO3yKEODzR6WaPqKQmqeUa5W9vLoi3vYacOVHBHi5+Hckih1KWD19hlrhA3eXJDmtk KOtud9VmYh+MVK1EIa26iTVr6lzEgQSx8frPMt7WPh3YQnHGQNjj+BLfpRo6TW4/g8d/ OCjbb9XMi9P/0VNoY0Z26iq1ptqiTdmEaVfCfNcsV3ThpR6HTvOA6LA739jZ7UZRAUhM B7BEeMO1U3fX6cwKZpmMmwerDEhr8isZLEwPsRObA2bs4KKz5OedTlTumBQ2YE52PanB 4gzA== X-Gm-Message-State: AOAM531NIE70qSSLSeJZccIFrY8qtbYFejTqtTE/ClT7/sA5JGMceBK1 QADZfOR3gih5zmyEEi0YNcIBVBmaXRI= 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) 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) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org 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 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Christian Ehrhardt , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" When building a Docker image based on debian10.docker on a non-x86 host, we get: [2/4] RUN apt update && DEBIAN_FRONTEND=noninteractive 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ée Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/dockerfiles/debian10.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/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 '[all]' | cut -d\ -f2) ENV FEATURES docs