From patchwork Mon Mar 8 13:50:54 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: 395430 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp1847518ejz; Mon, 8 Mar 2021 06:09:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6Oj17QCgDSARVe6aAwFTwR/xRKZz9M7vF8kCT5suObJ0aKjbjwotejAlJDHcok70YQFlp X-Received: by 2002:a05:6638:582:: with SMTP id a2mr23207686jar.133.1615212542815; Mon, 08 Mar 2021 06:09:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615212542; cv=none; d=google.com; s=arc-20160816; b=D4lCf4LCwnYa1cCQBGw9X2G5WkNY8DW1deF5OVgjE+Qhh6OxLyYiWkt0Csu2714A3L TaZAs0bnsjD2agTi4JsClaZRk/vN8EWHBIxDP3/7Gha5WseJm6c00WVbftuNVK+SjCtt E+dq+8vKidr052/SdcGuWAss1ttlRUvSGGjo9JXZoJ2L1ySFU62nYINeyXaB/PSrnAyU RPNK/PErU/qJAIuFeSOxHId6a1CV2tAETr0l55a6juAHo/IrVy0Q93hzHCfMPsk5OtT0 MolRA+Gsa9Q2y2PpWxPe+mY1MutrJUj4aRUsR8q2byJ1KN/+a9MVpy6Dm5lQa5h6H9Xy soUw== 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=IfogE2L0ZoaD8bbDIDfAk81FM/b9+bT0mpMS2uuhY62K8FtPdotBopSyKjywxWQclM JkNZPcvQfKDQ+bXgrmas5ofl/YbWheq8vsWoi2mzgQbUe3QecNnw+dkVB/jH0LIkXMNd I79XF22YUl1UwZy3j/z6Krn8MJvEmziAR3PKzNdTQHvC0GydrXQiQziQ43cJtA3DwKSS xwikN2ZqIwz2bf4+pPp5qu3/9d8rmlNbLscd9tgXPpifLl2QNBW4WGbXv4QxeLCjSFn0 wkL9kK89zpYqBdZTpKXgfqZVnWiiucqX700UWoLXg6R6hh/XyKoUx1pXggDGlb3AxXSz s6KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="GFqA4j/t"; 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 z15si11478552ilu.107.2021.03.08.06.09.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Mar 2021 06:09:02 -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="GFqA4j/t"; 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]:35376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJGZC-0003pl-4c for patch@linaro.org; Mon, 08 Mar 2021 09:09:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJGI0-0006Sn-TW for qemu-devel@nongnu.org; Mon, 08 Mar 2021 08:51:16 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:32932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJGHz-0001Bn-3i for qemu-devel@nongnu.org; Mon, 08 Mar 2021 08:51:16 -0500 Received: by mail-wr1-x42c.google.com with SMTP id 7so11566357wrz.0 for ; Mon, 08 Mar 2021 05:51:14 -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=GFqA4j/t8CfChKj1RTNJoT3VZIPIHTHjzEgQDu/VQOutDN8clhNER9g3zt3RL5mXnE 1GvFGNyVQXu1Lm5bFEgtW1DC6HrNdrrHlvN6e3h7XpsGD60KZY/xizrvTGg7kj2cCDKX js3mIt5EXYq7Rh5xMW2jlmz8Zd3ZcHWxsQJtXrFbjDMHYdoRZexuN0rza8UpgkrtjvNO bWPs9yp2b9LHeZowap7OmnmEo8GON1tErU3vMFHGETjLJqNOsWdFI36+rTJkRSVWfUno Q5hRs5j7BDKpmkKhz6il8nl7u2/Z72FxAXVmnRseJQfjpETtXPopoAWbo5aEiFgXuc0S 4WIw== 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=CS7H0Q1inJ9Jwn9PfKBrS8XY8VHGAdMiVRM9stdHScpHRyxJRDoJMQ/GX981YMxdpk CSQOjEliiuCcWPPVXoszLf0bBrCewUy8pxR+7kyYNN2nS98cFVHuDKY1lOVqGFf21EcL y+/49Q+cPF3QAUMa2zSWm3M3CeltRwBAq3870BHwhO9VbuiCdHJNA1BYgE4RQtAY8cMt VSCoJHTnkJLTmK5cTingo79gQPa6YV3N/GDkyCB7ORzi5zK5wFs+DJjXAkiQHfWhAD7C /aqWozAFi2E33LpIN4PliiCVicjero8auK6Zg+hrQg3I5jVxkVaKexv/viAYHOn68mui hD8g== X-Gm-Message-State: AOAM5309dwj9/kVigSZMALAy+wcKKzvEaE+kzKrl7ADV8Rfk0CdmPd/J 5bWMupe4ExYA33MtvlMq6F5yXQ== X-Received: by 2002:adf:d205:: with SMTP id j5mr13364798wrh.211.1615211473691; Mon, 08 Mar 2021 05:51:13 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y18sm11344072wrw.39.2021.03.08.05.51.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 05:51:08 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 86CB71FF96; Mon, 8 Mar 2021 13:51:05 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/18] tests/docker: Use --arch-only when building Debian cross image Date: Mon, 8 Mar 2021 13:50:54 +0000 Message-Id: <20210308135104.24903-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210308135104.24903-1-alex.bennee@linaro.org> References: <20210308135104.24903-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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