From patchwork Thu Jan 10 17:45:13 2019 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: 155273 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2189655jaa; Thu, 10 Jan 2019 10:05:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN5RF1Qzo4WgUHyFMe3JyVwGelYGXb5JzBpU5ceOgdS+c0lwfJakxsOE77ka0MAfKd5EooBY X-Received: by 2002:adf:dcd0:: with SMTP id x16mr10160537wrm.143.1547143532021; Thu, 10 Jan 2019 10:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547143532; cv=none; d=google.com; s=arc-20160816; b=QR6E7607vuGQMYzi6UBBmsg+QYuN7s7JsB5XGUYTtmjYoYsWvGi2x0Gus7C+rQepgK UHgPu9YsTJRtiQqNGXhW8lQkbR+v4pXUNy+EMYiTe00NExK50wxfJOX2pSgxP0IqmNqd cMYkvDVg46aC54BXd8hD28cLIovL4PWm3fSQn5Reve+9+KYMPGq/ha6JL3rD2utmiOBZ GR1nZL1CC1TmpiCHSSc3BsFAmXsVXl3O9MxIg4+PBPBXKGkfEOFrJASfNVNrvUy3ESQx ysX/dCleJQXGIDsmLu8FDAISQ9SwrjI1ShSKSgB8zU0ogaWFEmlO+uMbtTfPaeIESJkM y7bQ== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=mUSNmWvF0gUs+eKxjRt8RXGy94n92FcH250G3WC28Is=; b=mn+HaHQmdGZmiN9KiJX34jRzHJ+GCjasanZOCTdLqDowzJ01iOk4ooYjmmZbZdJMID bh5XYqhKjB1lGB/32VDyjsD/Z8f75tFpJPCtwzQd5v3T/wZNysXD86IjCBjQmZGND8qa AYmbmKKNIbKJN55gzJ4+zNuaI8qOIO2z7EVWhE6XmB2Dld//V2jMZmNTNqxtaAgdX2tN fgxOJX7ijV5AMvG96wYD8Ykx4OwyrSjlbQFCQ7EgfCKMSY1V9F3p2k/nMtjQSpSk5wUc pla7rQyiQkZ188J5OiBaQTiUSas/PmBe1U22sA3xdeRWJbQPDzvtE+/zo9gN8veaVwxg fMfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hWQGrbb6; 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 b6si4572739wrp.431.2019.01.10.10.05.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 10 Jan 2019 10:05:32 -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=hWQGrbb6; 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 ([127.0.0.1]:38566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghehv-0003jY-2H for patch@linaro.org; Thu, 10 Jan 2019 13:05:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gheXi-0004SI-Mp for qemu-devel@nongnu.org; Thu, 10 Jan 2019 12:54:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gheXh-00018l-Hg for qemu-devel@nongnu.org; Thu, 10 Jan 2019 12:54:58 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:42357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gheXh-00017f-Aa for qemu-devel@nongnu.org; Thu, 10 Jan 2019 12:54:57 -0500 Received: by mail-wr1-x42c.google.com with SMTP id q18so12374342wrx.9 for ; Thu, 10 Jan 2019 09:54:57 -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=mUSNmWvF0gUs+eKxjRt8RXGy94n92FcH250G3WC28Is=; b=hWQGrbb6rx2bqV+tMEi+E+XjjVPmIICKXNG1wyZz7AgfklqWm21pznIi9o8xQdI2Hi QRo7FSHVdpeX3TyZdY0Z+ftNO3iVLUpHBIvpodoM2snM+UEGFkoHCdxVNfeecj01n2W2 0ulVv2OuwEx/ZnPFmc6gxg2es6auF5/vdJZEw= 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=mUSNmWvF0gUs+eKxjRt8RXGy94n92FcH250G3WC28Is=; b=gQA0dZiP94YxSSzYXp0dT9tVMd1DwF3NCHZfKFIWniYNZnveIMVI6qDtm3ButElAPy RXql1mcf0J+4+B88TYVcX9cK7uRt6BP3rX4n9VinwoSb9/j3jrSJZrBx9nnNGWrddEzh RcvQ4Cadhr5lTyB0gWyTmTcZNuttnzEnaeCYMtnZPx2HronaKrcvYGvef/zZ89S6TeHb LwsHv0UMC/do+Hzv7ReSs5zWOKQbet2B8Xq4JXFK4gcKWk6ctHM7dBqA3sTmxV9hq0QN imt4yV6HvvtZyF683N82JNMIWhH9kobDIShJGxzlfVEEjGSrvD7WZXcTwWvjQ4z/XlXm 9xDQ== X-Gm-Message-State: AJcUukcF5kR0+8Y6+cKXPvumBNKwt+MYvfszTJvO9MUkznH8diqoJD2u TxyeIVIkSH3wCR94PJKHAbJqoQ== X-Received: by 2002:adf:891a:: with SMTP id s26mr10071431wrs.44.1547142896263; Thu, 10 Jan 2019 09:54:56 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j8sm47434800wrt.40.2019.01.10.09.54.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 09:54:54 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 4031F3E1177; Thu, 10 Jan 2019 17:45:18 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 10 Jan 2019 17:45:13 +0000 Message-Id: <20190110174516.21586-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190110174516.21586-1-alex.bennee@linaro.org> References: <20190110174516.21586-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c Subject: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ymankad@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Fam Zheng , =?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é The Debian Sid repository is not garanteed to be stable, as his 'unstable' name suggest :) To allow quick testing, packages are pushed various time a day, which my be annoying when trying to use it for stable development (which is not recommended, but Sid provides edge packages we use for testing). Debian provides repositories snapshots which are suitable for our use. Pick a recent date that works. When required, update to newer releases will be easy. This fixes current issues with this image: $ make docker-image-debian-sid [...] The following packages have unmet dependencies: build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed git : Depends: perl but it is not going to be installed Depends: liberror-perl but it is not going to be installed pkg-config : Depends: libdpkg-perl but it is not going to be installed texinfo : Depends: perl (>= 5.26.2-6) but it is not going to be installed Depends: libtext-unidecode-perl but it is not going to be installed Depends: libxml-libxml-perl but it is not going to be installed E: Unable to correct problems, you have held broken packages. Signed-off-by: Philippe Mathieu-Daudé [AJB: also tweak FROM to a earlier snapshot] Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-sid.docker | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-sid.docker b/tests/docker/dockerfiles/debian-sid.docker index 4e4cda0ba5..676941cb32 100644 --- a/tests/docker/dockerfiles/debian-sid.docker +++ b/tests/docker/dockerfiles/debian-sid.docker @@ -11,7 +11,12 @@ # updated and trigger a re-build. # -FROM debian:sid-slim +# This must be earlier than the snapshot date we are aiming for +FROM debian:sid-20181011-slim + +# Use a snapshot known to work (see http://snapshot.debian.org/#Usage) +ENV DEBIAN_SNAPSHOT_DATE "20181030" +RUN sed -i "s%^deb \(https\?://\)deb.debian.org/debian/\? \(.*\)%deb [check-valid-until=no] \1snapshot.debian.org/archive/debian/${DEBIAN_SNAPSHOT_DATE} \2%" /etc/apt/sources.list # Use a snapshot known to work (see http://snapshot.debian.org/#Usage) ENV DEBIAN_SNAPSHOT_DATE "20181030"