From patchwork Wed Mar 10 15:59:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 396749 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp498265jai; Wed, 10 Mar 2021 08:06:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJydgLvkZfYpZhvx6f4kDOGzjk+cc9msTI+fEUDKPO67c0tAdJ5raPVkBg8M5kuBAroagEYV X-Received: by 2002:a05:6102:208:: with SMTP id z8mr2328729vsp.2.1615392400094; Wed, 10 Mar 2021 08:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615392400; cv=none; d=google.com; s=arc-20160816; b=OrQsRo2Uhx09OKFIl+vlAQACWPUoOvCPaW9iqVZcqTS9iWnH13Oa08wrkQRyVjLnTJ i6g5mJWhHNBjb1GdK1Lwtn75fV1lNmOdiBrvuUv2hoy6WQL92Ze1MuiMdYtJ0uV70+Ai oTbo78H7mq1r8HS+UCF6zdiFssx27Nx0TzNzSUSy3j1KL+A+/GB3QKGmT5o0Mtx2sgBI weImycDx30OuaPmP7U6CrO3i9aWF+LQQQ66ykUDymYnKi33ZdZzs0Ru/t19E/wIJjrkm ndAcKj3DOGQSsoLlB5LkEzjt9j5yzTAU6d0+YLXKp5+KcPux4pU9b+54mH31c2/DB7Uc tqNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=a0BK8ypBSXh0RbNv4uKgBtQr0GJ8Tge8/vqHvw7yHfo=; b=YAX2rlwONUqLPAz77Ryaio+LfQ7cpjmLX+vxemnULpozeeEhW+l+CiPg5hNpD3jMHN ysG0L5sBS3bXNPTaAKXLVl9FoM149JJVXHhVqJwc57K5de6DN3FZzjpxWCnclDoid81o u01TxoynQ/DBL/yll9wqrAagSSryZPUF6xhxEhKzj8jSR7VsW0RYH1DDxl6MZuZz76S/ GAU79+yOtYRD4QSGCdWL0vuWlIIlNfbd96EdEuep5y9G89BcB/+k1XgEK45/3c8s20dM EfzNX2wRI+JLm1MT7Y4Sj4hK6q91Bh+WG/OC7Z5JKyvJ+9V6USRobowVh4u44Ul+3z+7 elSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JR6F2Pas; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g18si5918uam.20.2021.03.10.08.06.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Mar 2021 08:06:40 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JR6F2Pas; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK1M7-0007C3-EX for patch@linaro.org; Wed, 10 Mar 2021 11:06:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK1G0-0004Z3-A5 for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:20 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:38283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK1Fw-0002eC-Pl for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:20 -0500 Received: by mail-ej1-x62d.google.com with SMTP id mj10so39694647ejb.5 for ; Wed, 10 Mar 2021 08:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a0BK8ypBSXh0RbNv4uKgBtQr0GJ8Tge8/vqHvw7yHfo=; b=JR6F2PaswOUuR0oVd1vaMVYrDlKr0q1k1PUxQQ7HZU+v1DUSbk2QWrXcNvOCYDIrem J7U5gG+hL60bD+6dwocZvWRaRPoecfw12Zddo654QNIMp2fd+l3Gvb2HlLqTIBS0SqY/ wjDK7nmOY+uC+veGWSek62a8JllfdQUArdRXyAZgAAJ5rfdBhXQdRgt6vCD1c/MG+aK0 JDClYVBA8RYMR3YtggveOllLeSfNUYDrULXyh87711M26PYj6m/NGOjYeqzY2HFQEIGO VeDO/COWNkrSb+YVQzHGHrnUqq2crhWSe2Te53q1rlk8Tae1n1Psl1HdF0CNZVjt3+VW ugdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a0BK8ypBSXh0RbNv4uKgBtQr0GJ8Tge8/vqHvw7yHfo=; b=Sc+kIIw0ygxgSzdYLj/HVBLJk+gO5fyQy82gXZGQpOEdE7rpaTMizFcPnHUHse0Wrt Ti7phVXe5uNk6RjsHPIHvTGxO3w9fAglqjcbGwaF/HP8sh6KQAOkuPRobvVCx8GhxuA9 USgIu/lAz5wWmF302FXWfCRaM7b++2lFy7sKCijD+/Y8HXlXIUeag2qkiSYgdzdF+EZm vNluuSEjlbwYT0dox7OF09o2u0yj8KyjHku7jWUn21bJrKI/bqbqACDG8BiKR4i/npas cJOfcNi6uE7qt3qil1/IlZXdjY0S/9yCJj7zyEmrW4MYR+SXL44uWWdIhSG3xSw+Eedq 07tg== X-Gm-Message-State: AOAM530gTXPw09juf0Tcz5YMc9OsSDfG60+LdNdP2kzupSxUTC1keQ6X x/WW9aWRbBPdmBXWgg4GhgFWRnVmS8sn2w== X-Received: by 2002:a17:906:c0c8:: with SMTP id bn8mr4345764ejb.445.1615392012838; Wed, 10 Mar 2021 08:00:12 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r17sm9185287edx.1.2021.03.10.08.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 08:00:09 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0BFAC1FF91; Wed, 10 Mar 2021 16:00:03 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 05/15] tests/docker: Use --arch-only when building Debian cross image Date: Wed, 10 Mar 2021 15:59:52 +0000 Message-Id: <20210310160002.11659-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210310160002.11659-1-alex.bennee@linaro.org> References: <20210310160002.11659-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Christian Ehrhardt , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé 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 Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Reviewed-by: Alex Bennée Message-Id: <20210223211115.2971565-1-f4bug@amsat.org> Message-Id: <20210305092328.31792-10-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker index 9d42b5a4b8..d034acbd25 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