From patchwork Mon Jan 14 15:01:24 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: 155538 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3786319jaa; Mon, 14 Jan 2019 07:31:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Rdbxwo1zmD/bG1VQwLwsTS/yCnGROniMZy+IXMQoXiDwGBIudf27zBpOlNqvf1UDe/GAg X-Received: by 2002:adf:9168:: with SMTP id j95mr24346485wrj.217.1547479919745; Mon, 14 Jan 2019 07:31:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547479919; cv=none; d=google.com; s=arc-20160816; b=zPyceQrjqMG9fSPQAum1LD/Mv+oJIbuGH/ZUnIrdE3lSuXZXU1rRhS1rhJlGPwvn5T ewAG5h8ItWLeeU07oWgYr77ADRYKDzeuVgqxA92k8Mmruq31VXLvHBgO6k5hCuc9FcnJ Y2ePu5c44AJm2pi4jnzoH/Kh7jTWjihqLmiU8beuXgDubCtF1BkdIg/DGa0An+8eROcx QNKmZEVeuqJlEioxzyN9S7px/VdGEPvZTJObv/OTAq5n8f1hvYxmwhSRRCEvR5Hhuavf VTMtMMlmkVa4U6h9Qmc5ldPHdSyKl8EumalNc+3oYwedw0UCmNlKTMoG0FON2n0ipLLa aUVA== 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=PTkNnyty4VfOd8Y77rEQixw+U75c2okg6ezg0EaZYm8=; b=Mi3G1C3VfUyx74d3mkMWvNxqmWrVB3M2Jb4DRYDeAy9dywsxmGD1ucqPEFejHnq2Kz CqRPGmRbnKpOaqeidICf9uDe5/g9xfA8Ok4CNeOczIqlDT7m7eLf7OR8S3TZMOqX9Zm9 hs760+CxZgbjmKSk1upmb7/FFM9qE9f8GKhjIxZFASNb9Pv9znk88SdZwJP1sVmxvnQ5 sHpYmqGvWv+XKXdqK8xHwarVDoj97ylg1ufjisDz1CphPXP3z0HxMpeeqN+y1dok4UdH zABoPzpz/epFqo6/S0hVp/riaEO7xyz2Y3/kDJp8eF79Fi5PtQ2NNsNlatEqwus1dSFI e3Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="Y/jZ94/F"; 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 m5si42249271wrq.289.2019.01.14.07.31.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Jan 2019 07:31:59 -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="Y/jZ94/F"; 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]:54311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj4DW-0006Un-O1 for patch@linaro.org; Mon, 14 Jan 2019 10:31:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj3tO-0007l4-Vo for qemu-devel@nongnu.org; Mon, 14 Jan 2019 10:11:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj3tJ-0001GJ-2M for qemu-devel@nongnu.org; Mon, 14 Jan 2019 10:11:10 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:41051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj3tI-0001EO-R5 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 10:11:04 -0500 Received: by mail-wr1-x429.google.com with SMTP id x10so23227506wrs.8 for ; Mon, 14 Jan 2019 07:11:02 -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=PTkNnyty4VfOd8Y77rEQixw+U75c2okg6ezg0EaZYm8=; b=Y/jZ94/FoxpW4KrmKWn6gWhUfdMhdSkbTauPeF7OUdglyn2fPjlSyRY5a4RxGTfi31 +RkoSAd7s5wDomdLSI07PnKGE6h3mygcADoxWS6XUT+DziBhmblY0Pz/2NTpEIwP8sGF foaOMqlJuXJlJKm/vzug2AVv+3aFTlnUMXJNI= 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=PTkNnyty4VfOd8Y77rEQixw+U75c2okg6ezg0EaZYm8=; b=OVE5OoCEd5zpAltNYYe/82oECVgURJtoaKeVCdkSmJOgvuFn8/uwjgxNrgw5iFAmaV sTCu4fI5+henxh6x4KRE1zAUKv+FgbO0TXs1w5btDXzM2YB7/HD5bh7OaUA9K3CM5MuK LiNzblfSq1/h6SvkAaCLKM5cnXpa7zNl+v/Ro9IPCCns98RHTwYAjqpjAYGujqSm4lXk y17K1a6hCHqHAE0kBRl5Ffas5QmhClUf7PN01QKBjvkBOTVJfsIII4pOjPwurVSOZJvv DVz3MPI7+WQgMGKetsra0i2GmeTEB4uoxE+qJMvhSv/leo6e1/0C5ZLwZvf9qfT4Kg6W NN9Q== X-Gm-Message-State: AJcUukfQcceaR2mLWGybC9uLo0J/bS4F8dqZ+Y/jbOgxpX1GilUBJvXl HtubeobySEqSPhOIFWZ7jiW/ow== X-Received: by 2002:adf:9467:: with SMTP id 94mr24391606wrq.305.1547478661440; Mon, 14 Jan 2019 07:11:01 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a17sm71102199wrs.58.2019.01.14.07.10.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 07:10:58 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 304753E1293; Mon, 14 Jan 2019 15:01:31 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 14 Jan 2019 15:01:24 +0000 Message-Id: <20190114150129.1013-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190114150129.1013-1-alex.bennee@linaro.org> References: <20190114150129.1013-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::429 Subject: [Qemu-devel] [PULL 16/21] 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org 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 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.17.1 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"