qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: ymankad@redhat.com, Fam Zheng <fam@euphon.net>
Subject: Re: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid
Date: Fri, 11 Jan 2019 14:13:43 +0100	[thread overview]
Message-ID: <dd4fba2b-ed56-b715-04f4-c2489b5430f6@redhat.com> (raw)
In-Reply-To: <20190110174516.21586-17-alex.bennee@linaro.org>

On 1/10/19 6:45 PM, Alex Bennée wrote:
> From: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> 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é <philmd@redhat.com>
> [AJB: also tweak FROM to a earlier snapshot]
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  tests/docker/dockerfiles/debian-sid.docker | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> 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

These 2 lines are now dup (probably because Fam's PR entered before this
series).

>  
>  # Use a snapshot known to work (see http://snapshot.debian.org/#Usage)
>  ENV DEBIAN_SNAPSHOT_DATE "20181030"
> 

Without the dup lines:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

  reply	other threads:[~2019-01-11 13:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 17:44 [Qemu-devel] [PATCH v1 00/19] testing/next queue for travis and docker Alex Bennée
2019-01-10 17:44 ` [Qemu-devel] [PATCH v1 01/19] docker: Use stable git tag for virglrenderer Alex Bennée
2019-01-10 18:01   ` Philippe Mathieu-Daudé
2019-01-10 17:44 ` [Qemu-devel] [PATCH v1 02/19] tests: run ldconfig after installing extra software Alex Bennée
2019-01-10 18:12   ` Philippe Mathieu-Daudé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 03/19] tests: remove obsolete 'debian' dockerfile Alex Bennée
2019-01-10 18:04   ` Philippe Mathieu-Daudé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 04/19] tests: update Fedora dockerfile to use Fedora 29 Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 05/19] tests: update Fedora i386 cross image to " Alex Bennée
2019-01-10 17:54   ` Philippe Mathieu-Daudé
2019-01-10 17:56     ` Daniel P. Berrangé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 06/19] tests: use in-place sed magic for enabling deb-src in travis image Alex Bennée
2019-01-10 17:58   ` Philippe Mathieu-Daudé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 07/19] travis: add whitespace between each major section & matrix entry Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 08/19] travis: define all the build matrix entries in one place Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 09/19] travis: standardize the syntax used for env variables Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 10/19] travis: don't clone git submodules upfront Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 11/19] travis: use homebrew addon for MacOSX Alex Bennée
2019-01-10 18:23   ` Daniel P. Berrangé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 12/19] travis: stop redefining the script commands Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 13/19] travis: stop using container based envs Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 14/19] travis: run tests in verbose mode Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 15/19] travis: remove matrix settings that duplicate global settings Alex Bennée
2019-01-10 18:06   ` Philippe Mathieu-Daudé
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid Alex Bennée
2019-01-11 13:13   ` Philippe Mathieu-Daudé [this message]
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 17/19] travis: bump to Xenial baseline Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 18/19] tests/docker: update our Travis image Alex Bennée
2019-01-10 17:45 ` [Qemu-devel] [PATCH v1 19/19] tests/docker: remove SID_AGE test hack Alex Bennée
2019-01-13 15:20 ` [Qemu-devel] [PATCH v1 00/19] testing/next queue for travis and docker no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd4fba2b-ed56-b715-04f4-c2489b5430f6@redhat.com \
    --to=philmd@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=fam@euphon.net \
    --cc=qemu-devel@nongnu.org \
    --cc=ymankad@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).